Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Dec 2002 17:31:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Dec 2002 17:31:51 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:56329 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Wed, 18 Dec 2002 17:31:48 -0500 Date: Wed, 18 Dec 2002 14:37:35 -0800 (PST) From: Linus Torvalds To: Jamie Lokier cc: "H. Peter Anvin" , Terje Eggestad , Ulrich Drepper , Matti Aarnio , Hugh Dickins , Dave Jones , Ingo Molnar , linux-kernel Subject: Re: Intel P6 vs P7 system call performance In-Reply-To: <20021218222835.GA14801@bjl1.asuk.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1425 Lines: 34 On Wed, 18 Dec 2002, Jamie Lokier wrote: > > That said, you always need the page at 0xfffe0000 mapped anyway, so > that sysexit can jump to a fixed address (which is fastest). Yes. This is important. There _needs_ to be some fixed address at least as far as the kernel is concerned (it might move around between reboots or something like that, but it needs to be something the kernel knows about intimately and doesn't need lots of dynamic lookup). However, there's another issue, namely process startup cost. I personally want it to be as light as at all possible. I hate doing an "strace" on user processes and seeing tons and tons of crapola showing up. Just for fun, do a strace /bin/sh -c "echo hello" to see what I'm talking about. And that's actually a _lot_ better these days than it used to be. Anyway, I really hate to see "unnecessary crap" in the user mode startup just because kernel interfaces are bad. That's why I like the AT_SYSINFO ELF auxilliary table approach - it's something that is already _there_ for the process to just take advantage of. Having to do a magic mmap for somehting that everybody needs to do is just bad design. Linus - 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/