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    [W:0.019 / U:149.816 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site