time.7: Add a subsection on timer slack

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-10-28 07:37:42 +01:00
parent f9313d015c
commit f8090b56ca
1 changed files with 13 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" 2008-06-24, mtk: added some details about where jiffies come into
.\" play; added section on high-resolution timers.
.\"
.TH TIME 7 2010-02-25 "Linux" "Linux Programmer's Manual"
.TH TIME 7 2012-10-28 "Linux" "Linux Programmer's Manual"
.SH NAME
time \- overview of time and timers
.SH DESCRIPTION
@ -171,6 +171,18 @@ see
.BR timerfd_create (2),
and
.BR timer_create (2).
.SS Timer Slack
Since Linux 2.6.28, it is possible to control the "timer slack"
value for a thread.
The timer slack is the length of time by
which the kernel may delay the wake-up of certain
system calls that block with a timeout.
Permitting this delay allows the kernel to coallesce wake-up events,
thus possibly reducing the number of system wake-ups and saving power.
For more details, see the description of
.B PR_SET_TIMERSLACK
in
.BR prctl (2).
.SH "SEE ALSO"
.ad l
.nh