Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760767AbYB1QNi (ORCPT ); Thu, 28 Feb 2008 11:13:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760115AbYB1QNZ (ORCPT ); Thu, 28 Feb 2008 11:13:25 -0500 Received: from styx.suse.cz ([82.119.242.94]:35450 "EHLO mail.suse.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760056AbYB1QNY (ORCPT ); Thu, 28 Feb 2008 11:13:24 -0500 Date: Thu, 28 Feb 2008 17:13:23 +0100 (CET) From: Jiri Kosina To: Oleg Nesterov cc: Roland McGrath , Davide Libenzi , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] [RFC] fix missed SIGCONT cases In-Reply-To: <20080228160834.GA11510@tv-sign.ru> Message-ID: References: <20080227210038.93AFC2700FD@magilla.localdomain> <20080228102649.071572700FD@magilla.localdomain> <20080228153043.GA11484@tv-sign.ru> <20080228160834.GA11510@tv-sign.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 630 Lines: 19 On Thu, 28 Feb 2008, Oleg Nesterov wrote: > Hmm... Can't we make a simpler patch for the start? See below. > We can notify the parent earlier, before waking the TASK_STOPPED > child. This should fix this race, no? Yes, this looks also like a correct fix to me (haven't tried to run the actual test yet, but 'obviously' it should close the race). Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/