Re: [PATCH RFC v6 10/11] pvqspinlock, x86: Enable qspinlock PV support for KVM

From: Waiman Long
Date: Mon Mar 17 2014 - 13:48:09 EST


On 03/14/2014 04:42 AM, Paolo Bonzini wrote:
Il 13/03/2014 20:13, Waiman Long ha scritto:


This should also disable the unfair path.

Paolo


The unfair lock uses a different jump label and does not require any
special PV ops. There is a separate init function for that.

Yeah, what I mean is that the patches that enable paravirtualization should also take care of decreasing the unfair-lock jump label when paravirtualization is enabled.

Paolo

As there are people who don't like unfair lock at all, I prefer to give them the option to turn this on or off instead of forcing them to always use unfair lock in a PV guest.

-Longman
--
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/