Re: [PATCH RFC tip/core/rcu 13/20] rcu: increasesynchronize_sched_expedited() batching

From: Paul E. McKenney
Date: Tue Dec 21 2010 - 02:58:43 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/