From: Willy Tarreau <willy@w.ods.org>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: Olivier Croquette <ocroquette@free.fr>,
Andrew Morton <akpm@osdl.org>,
torvalds@osdl.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: setitimer expire too early (Kernel 2.4)
Date: Thu, 30 Jun 2005 23:59:34 +0200 [thread overview]
Message-ID: <20050630215934.GL8907@alpha.home.local> (raw)
In-Reply-To: <20050630165053.GA8220@logos.cnet>
Hi Marcelo,
you type faster than me :-)
On Thu, Jun 30, 2005 at 01:50:53PM -0300, Marcelo Tosatti wrote:
> And what about the side effects:
> This however will produce pathological cases, like having a idle system
> being requested 1 ms timeouts will give systematically 2 ms timeouts,
> whereas currently it simply gives a few usecs less than 1 ms.
Unless I'm mistaken, it's worse. 1 ms will lead to 11 ms because
HZ is still 100 on most common archs in 2.4. Perhaps we could find
a way to round it_real_incr up instead of systematically adding 1
to interval ?
Cheers,
Willy
next prev parent reply other threads:[~2005-06-30 21:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-30 19:14 setitimer expire too early (Kernel 2.4) Olivier Croquette
2005-06-30 16:50 ` Marcelo Tosatti
2005-06-30 21:59 ` Willy Tarreau [this message]
2005-06-30 23:05 ` Andrew Morton
2005-07-01 9:44 ` George Anzinger
2005-07-01 17:52 ` Olivier Croquette
2005-07-01 14:49 ` Marcelo Tosatti
2005-07-01 21:14 ` George Anzinger
2005-07-03 11:56 ` Marcelo Tosatti
2005-07-04 11:47 ` Marcelo Tosatti
2005-06-30 21:46 ` Willy Tarreau
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=20050630215934.GL8907@alpha.home.local \
--to=willy@w.ods.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=ocroquette@free.fr \
--cc=torvalds@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.