Salut Olivier,

It appears that this bug has been fixed in 2.6.12.  Perhaps 
you can confirm this?

I will amend the getitimer.2 man page note that the bug 
goes away with 2.6.12.  

Chers,

Michael

> --- Ursprüngliche Nachricht ---
> Von: "Michael Kerrisk" <[EMAIL PROTECTED]>
> An: Olivier Croquette <[EMAIL PROTECTED]>
> Kopie: Nishanth Aravamudan <[EMAIL PROTECTED]>
> Betreff: Re: Man page corrections
> Datum: Mon, 13 Jun 2005 10:59:19 +0200 (MEST)
> 
> Salut Olivier (and Nishanth),
> 
> Regarding man page documentation of the problem of short sleeps 
> for setitimer(2)...
> 
> > > -- pointers to those threads
> > 
> > http://bugzilla.kernel.org/show_bug.cgi?id=4569
> > http://lkml.org/lkml/2005/4/29/163
> > 
> > > -- indications of which kernel versions show this bahaviour
> > 
> > AFAIK, all versions as far as x86 is concerned.
> > Dunno if it is hardware specific.
> > 
> > > -- a (short) test program to demonstrate it, if you have one.
> > 
> > See the bugzilla bug's attachments
> 
> Sorry for the long delay in following this up, but I've got to 
> it now.  I tweaked your suggestions slightly:
> 
> {{
> Timers will never expire before the requested time,
> -instead expiring some short, constant time afterwards, dependent
> -on the system timer resolution (currently 10ms).  
> +but may expire some (short) time afterwards, which depends
> +on the system timer resolution and on the system load.
> +Upon expiration, a signal will be generated and the timer reset.
> +If the timer expires while the process is active (always true for
> 
> +On certain systems (including x86), the Linux kernel has a bug which 
> will
> +produce premature timer expirations of up to one jiffy under some
> +circumstances.
> }}
> 
> Thanks for this bug report; the changes will appear in 
> man-pages-2.04.
> 
> Nishanth: if and when your changes are accepted, and the problem 
> is thus fixed, could you please send me a notification of that
> fact, and I can then further amend the manual pages.
> 
> Cheers,
> 
> Michael

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to