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

From
David Howells <dhowells@redhat.com>
Date
2012-02-14 18:30:34
Also in
lkml
Reply to
Matt Fleming, 2012-02-14
Matt Fleming [off-list ref] wrote:
quoted
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
Thread (61 messages) 61 messages, 9 authors, last reply 2012-04-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help