lkml.org 
[lkml]   [2012]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 20/40] mn10300: Use set_current_blocked() and block_sigmask()
Date

Matt Fleming <matt@console-pimps.org> 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


\
 
 \ /
  Last update: 2012-02-14 19:33    [W:0.124 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site