From c43b0ac78cb78eb37a85c480b9849e0055c1b527 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 12 Sep 2010 08:40:54 +0200 Subject: [PATCH] getrlimit.2: Document units for RLIMIT_RTTIME limit This limit is in microseconds http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596492 Reported-by: Tanaka Akira Signed-off-by: Michael Kerrisk --- man2/getrlimit.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 35c9eed59..02ff63c96 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -60,7 +60,7 @@ .\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO .\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME .\" -.TH GETRLIMIT 2 2008-10-06 "Linux" "Linux Programmer's Manual" +.TH GETRLIMIT 2 2010-09-12 "Linux" "Linux Programmer's Manual" .SH NAME getrlimit, setrlimit \- get/set resource limits .SH SYNOPSIS @@ -310,7 +310,8 @@ and .BR sched_setparam (2). .TP .BR RLIMIT_RTTIME " (Since Linux 2.6.25)" -Specifies a limit on the amount of CPU time that a process scheduled +Specifies a limit (in microseconds) +on the amount of CPU time that a process scheduled under a real-time scheduling policy may consume without making a blocking system call. For the purpose of this limit,