| Subject | Re: [PATCH RFC tip/core/rcu 11/11] rcu: move TREE_RCU from softirq to kthread | From | Steven Rostedt <> | Date | Wed, 23 Feb 2011 09:42:14 -0500 |
| |
On Wed, 2011-02-23 at 09:02 -0500, Mathieu Desnoyers wrote: > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote: > [...] > > + for (cpu = rnp->grplo; cpu <= rnp->grphi; cpu++, mask <<= 1) > > + if (mask & 01) > > Wow, octal notation! ;)
Heh
> > Maybe we could consider 0x1 here.
Why even the conversion? mask & 1 should be good enough.
Perhaps 1UL to match the unsigned long.
-- Steve
|