lkml.org 
[lkml]   [2010]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-12-21 09:01    [from the cache]
©2003-2011 Jasper Spaans