Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 13:39:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 13:39:52 -0500 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:23779 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 13:39:51 -0500 Subject: Re: Intel P6 vs P7 system call performance From: Alan Cox To: Ulrich Drepper Cc: Linus Torvalds , Matti Aarnio , Hugh Dickins , Dave Jones , Ingo Molnar , Linux Kernel Mailing List , hpa@transmeta.com In-Reply-To: <3DFF6D4B.3060107@redhat.com> References: <3DFF6D4B.3060107@redhat.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 17 Dec 2002 19:26:26 +0000 Message-Id: <1040153186.20780.11.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 702 Lines: 15 On Tue, 2002-12-17 at 18:30, Ulrich Drepper wrote: > demultiplexing happens in the kernel. Do we want to do this at > userlevel? This would allow almost no-cost determination of those > syscalls which can be handled at userlevel (getpid, getppid, ...). getppid changes and so I think has to go to kernel (unless we go around patching user pages on process exit [ick]). getpid can already be done by reading it once at startup time and caching the data. - 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/