Re: [PATCH/RFC] stop_machine: make stop_machine_run more virtualization friendly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Thursday, May 8, 2008 - 6:33 am

Christian Borntraeger wrote:

I think that's one of those "don't do that then" cases ;)


I think x86 (at least) is now using ticket locks, which is fair.  Which 
kernel are you seeing this problem on?


On x86, cpu_relax is just a "pause" instruction ("rep;nop").  We don't 
hook it in paravirt_ops, and while VT/SVM can be used to fault into the 
hypervisor on this instruction, I don't know if kvm actually does so.  
Either way, it wouldn't work for VMI, Xen or lguest.

    J


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

Messages in current thread:
[PATCH/RFC] stop_machine: make stop_machine_run more virtu ..., Christian Borntraeger, (Thu May 8, 6:20 am)
Re: [PATCH/RFC] stop_machine: make stop_machine_run more v ..., Jeremy Fitzhardinge, (Thu May 8, 6:33 am)
Re: [PATCH/RFC] stop_machine: make stop_machine_run more v ..., Christian Borntraeger, (Thu May 8, 7:41 am)
Re: [PATCH/RFC] stop_machine: make stop_machine_run more v ..., Jeremy Fitzhardinge, (Thu May 8, 7:58 am)
Re: [PATCH/RFC] stop_machine: make stop_machine_run more v ..., Christian Borntraeger, (Thu May 8, 9:23 am)