[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v9 03/19] qspinlock: Add pending bit



On 04/18/2014 04:13 AM, Peter Zijlstra wrote:
On Thu, Apr 17, 2014 at 05:20:31PM -0400, Waiman Long wrote:
+       while ((val = atomic_read(&lock->val))&   _Q_LOCKED_MASK)
+               arch_mutex_cpu_relax();
That was a cpu_relax().
Yes, but arch_mutex_cpu_relax() is the same as cpu_relax() for x86.
Yeah, so why bother typing more?

Let the s390 people sort that if/when they try and make this work for
them.

OK, I can revert the change if you wish. I have no objection for that.

-Longman

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.