From: Bill Davidsen <davidsen@tmr.com>
To: george@mvista.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Re: itimer oddness in 2.6.12
Date: Mon, 25 Jul 2005 15:04:49 -0400 [thread overview]
Message-ID: <42E537D1.6000100@tmr.com> (raw)
In-Reply-To: <42E1A208.8060408@mvista.com>
George Anzinger wrote:
> Tom Marshall wrote:
>
>> On Fri, Jul 22, 2005 at 08:21:25PM +0100, Paulo Marques wrote:
>>
>>> Tom Marshall wrote:
>>>
>>>> The patch to fix "setitimer timer expires too early" is causing
>>>> issues for
>>>> the Helix server. We have a timer processs that updates the server's
>>>> timestamp on an itimer and it expects the signal to be delivered at
>>>> roughly
>>>> the interval retrieved from getitimer. This is very consistent on
>>>> every
>>>> platform, including Linux up to 2.6.11, but breaks on 2.6.12. On
>>>> 2.6.12,
>>>> setting the itimer to 10ms and retrieving the actual interval from
>>>> getitimer
>>>> reports 10.998ms, but the timer interrupts are consistently
>>>> delivered at
>>>> roughly 11.998ms.
>>>
>>>
>>> Unfortunately, this is not so clear cut as it seems :(
>
>
> Oops! That patch is wrong. The +1 should be applied to the initial
> interval _only_. We KNOW when the repeating intervals start (i.e. at
> the jiffie edge) and don't need to adjust them. The patch, however,
> incorrectly, rolls them all into one. The attach patch should fix the
> problem. Warnning, it compiles and boots, but I have not tested it.
Can this get into 2.6.13? Or stable if it's too late? This would appear
to be a fix to a visible problem.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
next prev parent reply other threads:[~2005-07-25 19:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 17:16 itimer oddness in 2.6.12 Tom Marshall
2005-07-22 19:21 ` Paulo Marques
2005-07-22 20:58 ` Tom Marshall
2005-07-23 1:48 ` [PATCH] " George Anzinger
2005-07-25 11:58 ` Paulo Marques
2005-07-25 19:04 ` Bill Davidsen [this message]
2005-07-26 6:17 ` Andrew Morton
2005-07-26 14:36 ` George Anzinger
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=42E537D1.6000100@tmr.com \
--to=davidsen@tmr.com \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.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