lkml.org 
[lkml]   [2002]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: readprofile from 2.5.25 web server benchmark
    Dave Hansen wrote:
    >
    > ...
    > > I'd be interested in the effect of the latter. It's very 2.4-able.
    >
    > Do you mean 2.5-able?
    > http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=smptimers+2.5
    >
    > I found a couple of 2.5.*teen patches, but they're miles away from
    > applying cleanly. Work for tomorrow, sigh...
    >

    Nah. I mean this technological gem:


    --- 2.5.25/kernel/timer.c~timer-speedup Tue Jul 9 00:04:33 2002
    +++ 2.5.25-akpm/kernel/timer.c Tue Jul 9 00:06:09 2002
    @@ -211,6 +211,9 @@ int mod_timer(struct timer_list *timer,
    int ret;
    unsigned long flags;

    + if (timer_pending(timer) && timer->expires == expires)
    + return 1;
    +
    spin_lock_irqsave(&timerlist_lock, flags);
    timer->expires = expires;
    ret = detach_timer(timer);
    -
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:27    [W:3.382 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site