mirror of https://github.com/mkerrisk/man-pages
Updated discussion of maximum timer value to reflect the fact
that the default jiffy is now 4 milliseconds. Added a FIXME.
This commit is contained in:
parent
bb47b54bfb
commit
a8bbb90693
|
@ -149,9 +149,10 @@ representation exceeds MAX_SEC_IN_JIFFIES
|
||||||
(defined in
|
(defined in
|
||||||
.IR include/linux/jiffies.h ),
|
.IR include/linux/jiffies.h ),
|
||||||
then the timer is silently truncated to this ceiling value.
|
then the timer is silently truncated to this ceiling value.
|
||||||
On Linux 2.6 on x86 (where a jiffy is 0.001 seconds),
|
On Linux/x86 (where, since kerenl 2.6.13,
|
||||||
|
the default jiffy is 0.004 seconds),
|
||||||
this means that the ceiling value for a timer is
|
this means that the ceiling value for a timer is
|
||||||
approximately 24.86 days.
|
approximately 99.42 days.
|
||||||
|
|
||||||
On certain systems (including x86),
|
On certain systems (including x86),
|
||||||
Linux kernels before version 2.6.12 have a bug which will produce
|
Linux kernels before version 2.6.12 have a bug which will produce
|
||||||
|
@ -167,3 +168,6 @@ should fail if a
|
||||||
value is specified that is outside of the range 0 to 999999.
|
value is specified that is outside of the range 0 to 999999.
|
||||||
However, Linux does not give an error, but instead silently
|
However, Linux does not give an error, but instead silently
|
||||||
adjusts the corresponding seconds value for the timer.
|
adjusts the corresponding seconds value for the timer.
|
||||||
|
.\" FIXME . Bugzilla report 25 Apr 2006:
|
||||||
|
.\" http://bugzilla.kernel.org/show_bug.cgi?id=6443
|
||||||
|
.\" "setitimer() should reject non-canonical arguments"
|
||||||
|
|
Loading…
Reference in New Issue