[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1329306598.3675.115.camel@mfleming-mobl1.ger.corp.intel.com>
Date: Wed, 15 Feb 2012 11:49:58 +0000
From: Matt Fleming <matt@...sole-pimps.org>
To: David Howells <dhowells@...hat.com>
Cc: linux-arch@...r.kernel.org, Oleg Nesterov <oleg@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Koichi Yasutake <yasutake.koichi@...panasonic.com>,
Al Viro <viro@...iv.linux.org.uk>, linux-am33-list@...hat.com
Subject: Re: [PATCH 20/40] mn10300: Use set_current_blocked() and
block_sigmask()
On Tue, 2012-02-14 at 18:30 +0000, David Howells wrote:
> Matt Fleming <matt@...sole-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.
Thanks! I think Andrew is picking these up, unless you want to take them
through the arch trees?
--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists