Re: [PATCH 6/7] locking/qspinlock: A fairer queued unfair lock

From: Peter Zijlstra
Date: Sun Jul 12 2015 - 04:22:34 EST


On Sat, Jul 11, 2015 at 04:36:57PM -0400, Waiman Long wrote:
> For a virtual guest with the qspinlock patch, a simple unfair byte lock
> will be used if PV spinlock is not configured in or the hypervisor
> isn't either KVM or Xen.

Why do we care about this case enough to add over 300 lines of code?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/