>>> On 03.08.15 at 13:29, <ian.campb...@citrix.com> wrote:
> From: David Vrabel <david.vra...@citrix.com>
> 
> Instead of cpu_relax() while spinning and observing the ticket head,
> introduce arch_lock_relax() which executes a WFE instruction.  After
> the ticket head is changed call arch_lock_signal() to execute an SEV
> instruction (with the required DSB first) to wake any spinners.
> 
> This should improve power consumption when locks are contented and
> spinning.

So why not use MONITOR/MWAIT on x86 for the same purpose?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to