Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 23:07:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 23:07:04 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:28430 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 23:07:00 -0500 Date: Tue, 17 Dec 2002 20:15:47 -0800 (PST) From: Linus Torvalds To: Ulrich Drepper cc: Matti Aarnio , Hugh Dickins , Dave Jones , Ingo Molnar , , Subject: Re: Intel P6 vs P7 system call performance In-Reply-To: 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: 984 Lines: 26 On Tue, 17 Dec 2002, Linus Torvalds wrote: > > How about this diff? It does both the 6-parameter thing _and_ the > AT_SYSINFO addition. The 6-parameter thing is broken. It's clever, but playing games with %ebp is not going to work with restarting of the system call - we need to restart with the proper %ebp. I pushed out the AT_SYSINFO stuff, but we're back to the "needs to use 'int $0x80' for system calls that take 6 arguments" drawing board. The only sane way I see to fix the %ebp problem is to actually expand the kernel "struct ptregs" to have separate "ebp" and "arg6" fields (so that we can re-start with the right ebp, and have arg6 as the right argument on the stack). That would work but is not really worth it. 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/