Re: [PATCH 1/4] signal: allow taks to temporarily block TIF_NOTIFY_SIGNAL
Oleg Nesterov <[email protected]>
| Newsgroups | org.kernel.vger.linux-fsdevel,org.kernel.vger.bpf,org.kernel.vger.linux-cifs,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
Hi Christian, sorry for late reply.
This series looks very good to me. Just one nit...
On 08/18, Christian Brauner wrote:
>
> +/* Prevent TIF_NOTIFY_SIGNAL from interrupting this task. */
> +static inline unsigned int no_notify_signal_save(void)
> +{
> + unsigned int flags = current->flags & PF_NO_NOTIFY_SIGNAL;
I think that
unsigned int flags = current->flags;
should equally work?
Oleg.