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

From: Jamie Lokier (
Date: Wed Feb 12 2003 - 13:23:05 EST wrote:
> BTW, why is sysenter supposed to be disabled while in vm86? And if
> it should be disabled (as now in sys_vm86), the next context switch
> back to the vm86 process re-enables it, in load_esp0, right? So what's
> the gain?

I quite misread the code in entry.S at ret_from_int. The comment
"returning to kernel or vm86-space" confused me - of course scheduling
happens in vm86 mode.

(Andi et al., forget anything I've said about CONFIG_PREEMPT problems! :).

-- Jamie
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:43 EST