Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 14:14:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 14:14:12 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:37893 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 14:14:05 -0500 Message-ID: <3DFF7951.6020309@transmeta.com> Date: Tue, 17 Dec 2002 11:21:53 -0800 From: "H. Peter Anvin" Organization: Transmeta Corporation User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021119 X-Accept-Language: en, sv MIME-Version: 1.0 To: Linus Torvalds CC: Ulrich Drepper , Alan Cox , Matti Aarnio , Hugh Dickins , Dave Jones , Ingo Molnar , Linux Kernel Mailing List Subject: Re: Intel P6 vs P7 system call performance References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 888 Lines: 23 Linus Torvalds wrote: > > On Tue, 17 Dec 2002, Ulrich Drepper wrote: > >>But this is exactly what I expect to happen. If you want to implement >>gettimeofday() at user-level you need to modify the page. > > Note that I really don't think we ever want to do the user-level > gettimeofday(). The complexity just argues against it, it's better to try > to make system calls be cheap enough that you really don't care. > Let's see... it works fine on UP and on *most* SMP, and on the ones where it doesn't work you just fill in a system call into the vsyscall slot. It just means that gettimeofday() needs a different vsyscall slot. -hpa - 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/