Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 13 Aug 2002 12:29:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 13 Aug 2002 12:29:08 -0400 Received: from deimos.hpl.hp.com ([192.6.19.190]:56021 "EHLO deimos.hpl.hp.com") by vger.kernel.org with ESMTP id ; Tue, 13 Aug 2002 12:29:08 -0400 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15705.13490.713278.815154@napali.hpl.hp.com> Date: Tue, 13 Aug 2002 09:32:50 -0700 To: Christoph Hellwig Cc: Erik Andersen , Ingo Molnar , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [patch] clone_startup(), 2.5.31-A0 In-Reply-To: <20020813171138.A12546@infradead.org> References: <20020813164415.A11554@infradead.org> <20020813160924.GA3821@codepoet.org> <20020813171138.A12546@infradead.org> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 27 >>>>> On Tue, 13 Aug 2002 17:11:38 +0100, Christoph Hellwig said: Chris> On Tue, Aug 13, 2002 at 10:09:24AM -0600, Erik Andersen Chris> wrote: >> > First the name souns horrible. What about spawn_thread or >> create_thread > instead? it's not our good old clone and not a >> lookalike, it's some > pthreadish monster.. >> >> How about "clone2"? Chris> Already used by ia64 for a hybrid between the good old clone Chris> and the new monster :) The original clone() system call was misdesigned. Even if you chose to ignore ia64, clone() cannot be used by portable applications to specify a stack (think "stack-growth direction"). clone() should have specified a stack memory *area* from the beginning. (UNIX got this right from the beginning, see, e.g., sigaltstack()). --david - 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/