Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 13:25:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 13:25:17 -0500 Received: from cpe-24-221-190-179.ca.sprintbbd.net ([24.221.190.179]:44980 "EHLO myware.akkadia.org") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 13:25:16 -0500 Message-ID: <3DFF6DE4.4070600@redhat.com> Date: Tue, 17 Dec 2002 10:33:08 -0800 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20021216 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Torvalds CC: Matti Aarnio , Hugh Dickins , Dave Jones , Ingo Molnar , linux-kernel@vger.kernel.org, hpa@transmeta.com 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: 934 Lines: 27 Linus Torvalds wrote: > Thus glibc startup should be able to just do > > ptr = default_int80_syscall; > if (AT_SYSINFO entry found) > ptr = value(AT_SYSINFO) > > and then you can just do a > > call *ptr This won't work as I just wrote but something similar I can make work. I think the use of the TCB is the best thing to do. Replicating the info in all thread new thread's TCBs doesn't cost much and with NPTL it's even lower cost since we reuse old TCBs. -- --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `--------------------------- - 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/