From: Andrew Morton <akpm@zip.com.au>
To: Dave Hansen <haveblue@us.ibm.com>
Cc: Matthew Wilcox <willy@debian.org>, linux-kernel@vger.kernel.org
Subject: Re: readprofile from 2.5.25 web server benchmark
Date: Tue, 09 Jul 2002 00:06:41 -0700 [thread overview]
Message-ID: <3D2A8B81.42042058@zip.com.au> (raw)
In-Reply-To: 3D2A8779.9070104@us.ibm.com
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);
-
next prev parent reply other threads:[~2002-07-09 6:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-09 6:23 readprofile from 2.5.25 web server benchmark Dave Hansen
2002-07-09 6:44 ` Andrew Morton
2002-07-09 6:49 ` Dave Hansen
2002-07-09 7:06 ` Andrew Morton [this message]
2002-07-09 10:30 ` kuznet
2002-07-09 20:25 ` Andrew Morton
2002-07-09 21:14 ` kuznet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D2A8B81.42042058@zip.com.au \
--to=akpm@zip.com.au \
--cc=haveblue@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox