Commit 58e1010d authored by Ingo Molnar's avatar Ingo Molnar

sched: fix RLIMIT_CPU comment

Devan Lippman noticed that the RLIMIT_CPU comment in resource.h is
incorrect: the field is in seconds, not msecs. We used msecs in
earlier versions of the patch but that got changed.
Found-by: default avatarDevan Lippman <devan.lippman@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent bcbe4a07
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* then it defines them prior including asm-generic/resource.h. ) * then it defines them prior including asm-generic/resource.h. )
*/ */
#define RLIMIT_CPU 0 /* CPU time in ms */ #define RLIMIT_CPU 0 /* CPU time in sec */
#define RLIMIT_FSIZE 1 /* Maximum filesize */ #define RLIMIT_FSIZE 1 /* Maximum filesize */
#define RLIMIT_DATA 2 /* max data size */ #define RLIMIT_DATA 2 /* max data size */
#define RLIMIT_STACK 3 /* max stack size */ #define RLIMIT_STACK 3 /* max stack size */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment