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

Re: [Xen-devel] [PATCH v5 1/8] qspinlock: Introducing a 4-byte queue spinlock implementation

On 02/26/2014 11:24 AM, Peter Zijlstra wrote:
On Wed, Feb 26, 2014 at 10:14:21AM -0500, Waiman Long wrote:
+static void put_qnode(void)
+       struct qnode_set *qset = this_cpu_ptr(&qnset);
+       qset->node_idx--;
That very much wants to be: this_cpu_dec().

Yes, I will change it to use this_cpu_dec().


Xen-devel mailing list



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