From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from radon.swed.at (a.ns.miles-group.at [95.130.255.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "radon.swed.at", Issuer "neon.swed.at" (not verified)) by ozlabs.org (Postfix) with ESMTPS id CEE77B6FBB for ; Tue, 24 Apr 2012 00:58:22 +1000 (EST) Message-ID: <4F956DF2.7020408@nod.at> Date: Mon, 23 Apr 2012 16:57:54 +0200 From: Richard Weinberger MIME-Version: 1.0 To: Anton Vorontsov Subject: Re: [PATCH 7/9] um: Should hold tasklist_lock while traversing processes References: <20120423070641.GA27702@lizard> <20120423070925.GG30752@lizard> In-Reply-To: <20120423070925.GG30752@lizard> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linaro-kernel@lists.linaro.org, Mike Frysinger , Peter Zijlstra , user-mode-linux-devel@lists.sourceforge.net, linux-sh@vger.kernel.org, patches@linaro.org, Oleg Nesterov , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Paul Mundt , John Stultz , KOSAKI Motohiro , uclinux-dist-devel@blackfin.uclinux.org, Russell King , Andrew Morton , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 23.04.2012 09:09, Anton Vorontsov wrote: > Traversing the tasks requires holding tasklist_lock, otherwise it > is unsafe. > > p.s. However, I'm not sure that calling os_kill_ptraced_process() > in the atomic context is correct. It seem to work, but please > take a closer look. > > Signed-off-by: Anton Vorontsov > --- You forgot my Ack and I've already explained why os_kill_ptraced_process() is fine. Thanks, //richard