Messages in this thread | | | Subject | Re: [PATCH] use unfair spinlock when running on hypervisor. | From | Andi Kleen <> | Date | Tue, 01 Jun 2010 17:53:09 +0200 |
| |
Gleb Natapov <gleb@redhat.com> writes: > > The patch below allows to patch ticket spinlock code to behave similar to > old unfair spinlock when hypervisor is detected. After patching unlocked
The question is what happens when you have a system with unfair memory and you run the hypervisor on that. There it could be much worse.
Your new code would starve again, right?
There's a reason the ticket spinlocks were added in the first place.
-Andi
-- ak@linux.intel.com -- Speaking for myself only.
| |