Messages in this thread | | | Date | Tue, 1 Jun 2010 21:36:59 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] use unfair spinlock when running on hypervisor. |
| |
> Collecting the contention/usage statistics on a per spinlock > basis seems complex. I believe a practical approximation > to this are adaptive mutexes where upon hitting a spin > time threshold, punt and let the scheduler reconcile fairness.
That would probably work, except: how do you get the adaptive spinlock into a paravirt op without slowing down a standard kernel?
-Andi -- ak@linux.intel.com -- Speaking for myself only.
| |