Re: nops in virtual pc x86

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, September 12, 2008 - 3:04 pm

On Fri, 12 Sep 2008, David Sanders wrote:

Because the _native_ CPU handles them quite well.


.. in user space.

The thing is, afaik, Virtual PC will happily let the CPU execute all the 
user-space instructions, and thus they all work as well as if they were 
running on real hardware - since they _do_ run on real hardware.

But it is probably the case that Virtual PC will then do some "security 
checking" of any system code, possibly by JIT'ing it or just interpreting 
it, since it can't let the kernel run natively with privileges. That's 
what VMware does too, since older CPU's don't have virtualization support 
for ring0 programs.

And _that_ is presumably buggy, and never learnt about the "new" 
instructions in the PPro.

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
nops in virtual pc x86, David Sanders, (Fri Sep 12, 2:11 pm)
Re: nops in virtual pc x86, H. Peter Anvin, (Fri Sep 12, 2:20 pm)
Re: nops in virtual pc x86, Linus Torvalds, (Fri Sep 12, 3:04 pm)
Re: nops in virtual pc x86, H. Peter Anvin, (Fri Sep 12, 3:20 pm)
Re: nops in virtual pc x86, David Sanders, (Fri Sep 12, 4:05 pm)
Re: nops in virtual pc x86, H. Peter Anvin, (Fri Sep 12, 4:15 pm)