Re: [PATCH 20/40] mn10300: Use set_current_blocked() and block_sigmask()

From: David Howells
Date: Tue Feb 14 2012 - 13:30:32 EST



Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote:

> > Can this line create a race, now that it's not protected by a lock? It is
> > possible for current->blocked to get altered by another thread.
>
> ->blocked can only ever be altered by current, not another thread. See
> the following comment from sigprocmask() in kernel/signal.c,

Okay, I've managed to convince myself. Feel free to my Acked-by to the
MN10300 and FRV patches.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/