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().

-Longman
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to