[PATCH v4 4/9] um: export signals_enabled directly

Richard Weinberger richard.weinberger at gmail.com
Thu Jun 17 12:21:45 PDT 2021


On Fri, Mar 5, 2021 at 1:20 PM Johannes Berg <johannes at sipsolutions.net> wrote:
> +#define UML_SETJMP(buf) ({                             \
> +       int n, enable;                                  \
> +       enable = *(volatile int *)&signals_enabled;     \

Isn't this a case for READ_ONCE()?

-- 
Thanks,
//richard



More information about the linux-um mailing list