Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 12 Feb 2003 05:07:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 12 Feb 2003 05:07:49 -0500 Received: from bjl1.jlokier.co.uk ([81.29.64.88]:11392 "EHLO bjl1.jlokier.co.uk") by vger.kernel.org with ESMTP id ; Wed, 12 Feb 2003 05:07:49 -0500 Date: Wed, 12 Feb 2003 10:18:31 +0000 From: Jamie Lokier To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: Re: [Bug 350] New: i386 context switch very slow compared to 2.4 due to wrmsr (performance) Message-ID: <20030212101831.GB10422@bjl1.jlokier.co.uk> References: <629040000.1045013743@flay> <20030212041848.GA9273@bjl1.jlokier.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 754 Lines: 24 Linus Torvalds wrote: > In article <20030212041848.GA9273@bjl1.jlokier.co.uk>, > Jamie Lokier wrote: > > > >A cute and wonderful hack is to use the 6 words in the TSS prior to > >&tss->es as the trampoline. Now that __switch_to is done in software, > >those words are not used for anything else. > > No!! > > That's not cute and wonderful, that's _horrible_. I meant: the trampoline _stack_ lives in the TSS. There is no trampoline _code_. My apologies for poor wording. -- Jamie - 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/