Messages in this thread | | | Date | Mon, 20 Dec 2010 23:58:28 -0800 | From | "Paul E. McKenney" <> | Subject | Re: [PATCH RFC tip/core/rcu 13/20] rcu: increase synchronize_sched_expedited() batching |
| |
On Mon, Dec 20, 2010 at 11:31:20AM +0100, Peter Zijlstra wrote: > On Sun, 2010-12-19 at 10:43 +0100, Tejun Heo wrote: > > > > I see, then would something like the following work? > > > > (int)((unsigned)(a) - (unsigned)(b)) < 0 > > Note that there is lots of kernel code that does the above and > variations thereof and expects it to work.
Given that the approach I have been using is the same number of lines and avoids relying on this expectation, I will stick with it.
Thanx, Paul
| |