[PATCH] prctl: Add timerslack options to man pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds text to describe the PR_SET/GET_TIMERSLACK options.

Signed-off-by: Geoff Smith <geoffx.smith@xxxxxxxxx>


diff --git a/man2/prctl.2 b/man2/prctl.2
index 26d5e7e..798179b 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -262,6 +262,19 @@ the "securebits" flags of the calling thread.
 See
 .BR capabilities (7).
 .TP
+.BR PR_SET_TIMERSLACK " (since Linux 2.6.32)"
+Set the minimum permitted delay beyond the nominal value of
+a timer timer expiration, i.e., explicitly allow the system to delay
+extra time before returning from a timed-out operation such as
+sleep(), select(), or poll().  The intent is to reduce the
+overhead of timer operations and system wakeups for machines
+that have a low-power sleep mode.  The value is specified
+in arg2, in nanoseconds.
+.TP
+.BR PR_GET_TIMERSLACK " (since Linux 2.6.32)"
+Return the timer slack value in the location pointed to by
+(unsigned long *) arg2.
+.TP
 .BR PR_SET_TIMING " (since Linux 2.6.0-test4)"
 Set whether to use (normal, traditional) statistical process timing or
 accurate timestamp based process timing, by passing
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux