Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 14:59:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 14:59:56 -0500 Received: from mail.zmailer.org ([62.240.94.4]:11487 "EHLO mail.zmailer.org") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 14:59:53 -0500 Date: Tue, 17 Dec 2002 22:07:49 +0200 From: Matti Aarnio To: "H. Peter Anvin" Cc: Linus Torvalds , Linux Kernel Mailing List Subject: Re: Intel P6 vs P7 system call performance Message-ID: <20021217200749.GB32122@mea-ext.zmailer.org> References: <3DFF7E7D.1080900@transmeta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DFF7E7D.1080900@transmeta.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 23 (cutting down To:/Cc:) On Tue, Dec 17, 2002 at 11:43:57AM -0800, H. Peter Anvin wrote: > Linus Torvalds wrote: > > The thing is, gettimeofday() isn't _that_ special. It's just not worth a > > vsyscall of it's own, I feel. Where do you stop? Do we do getpid() too? > > Just because we can? > > getpid() could be implemented in userspace, but not via vsyscalls > (instead it could be passed in the ELF data area at process start.) After fork() or clone() ? If we had only spawn(), and some separate way to start threads... ... > -hpa /Matti Aarnio - 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/