Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Feb 2003 20:57:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Feb 2003 20:57:08 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:27921 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 25 Feb 2003 20:57:07 -0500 Date: Tue, 25 Feb 2003 18:04:38 -0800 (PST) From: Linus Torvalds To: Dave Jones cc: linux-kernel@vger.kernel.org Subject: Re: Minutes from Feb 21 LSE Call In-Reply-To: <20030225195339.GA31317@suse.de> 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: 911 Lines: 25 On Tue, 25 Feb 2003, Dave Jones wrote: > > > Yes, if you don't take advantage of sysenter, then all the sysenter > > support will just make us look worse ;( > > Andi's patch[1] to remove one of the wrmsr's from the context switch > fast path should win back at least some of the lost microbenchmark > points. But the patch is fundamentally broken wrt preemption at least, and it looks totally unfixable. It's also overly complex, for no apparent reason. The simple way to avoid the wrmsr of SYSENTER_CS is to just cache a per-cpu copy in memory, preferably in some location that is already in the cache at context switch time for other reasons. 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/