From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Date: Sat, 24 Mar 2012 12:48:23 +0000 Subject: Re: [PATCH 07/10] um: Should hold tasklist_lock while traversing processes Message-Id: <1332593303.16159.28.camel@twins> List-Id: References: <20120324102609.GA28356@lizard> <20120324103030.GG29067@lizard> In-Reply-To: <20120324103030.GG29067@lizard> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Sat, 2012-03-24 at 14:30 +0400, Anton Vorontsov wrote: > Traversing the tasks requires holding tasklist_lock, otherwise it > is unsafe. No it doesn't, it either requires tasklist_lock or rcu_read_lock().