Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Aug 2002 10:28:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Aug 2002 10:28:30 -0400 Received: from pixpat.austin.ibm.com ([192.35.232.241]:57888 "EHLO baldur.austin.ibm.com") by vger.kernel.org with ESMTP id ; Tue, 20 Aug 2002 10:28:29 -0400 Date: Tue, 20 Aug 2002 09:32:22 -0500 From: Dave McCracken To: Ingo Molnar cc: Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6 Message-ID: <26840000.1029853942@baldur.austin.ibm.com> In-Reply-To: References: X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 25 --On Tuesday, August 20, 2002 12:36:36 AM +0200 Ingo Molnar wrote: > in fact we have this already, almost: > > if (!list_empty(¤t->ptrace_children)) > > then block (or return -EAGAIN). Instead of the current -ENOCHLD. No fair adding new code in the middle of a discussion :) Seriously, that looks like it solves the problem. Dave ====================================================================== Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059 dmccr@us.ibm.com T/L 678-3059 - 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/