Re: [Bug 350] New: i386 context switch very slow compared to 2.4 due to wrmsr (performance)

Dave Jones
2003-02-12T18:08:58Z

On Wed, Feb 12, 2003 at 06:52:00PM +0100, Ingo Oeser wrote:
> On Wed, Feb 12, 2003 at 11:45:08AM +0100, Andi Kleen wrote:
> > [...] I have no real interest in vm86 mode, perhaps one of the people
> > interested in dosemu etc. could take care of it. I'm very glad it doesn't
> > exist on my main architecture - x86-64 - given how many hacks it needs to be
> > supported.
>
> So what about making it a CONFIG_XXX option? The few dosemu users
> could then configure it in.

Overkill. Andi's TF_VM86 fix looks to be the nicest way to do it.
If you don't use dosemu etc, the wrmsr should never be hit.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs