From 9426c9ddbf6bb8aea3618245982f004ba8aa5d35 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 13 Jul 2005 13:05:56 +0000 Subject: [PATCH] RLIMIT_RSS ceased to have any effect in 2.4 in kernel 2.4.30. (It already didn't have any effect in 2.2.x and 2.6.x.) --- man2/getrlimit.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index a144bac4f..10a5563ae 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -264,13 +264,14 @@ fails with the error .B RLIMIT_RSS Specifies the limit (in pages) of the process's resident set (the number of virtual pages resident in RAM). -This limit only has effect in Linux 2.4.x, and there only +This limit only has effect in Linux 2.4.x, x < 30, and there only affects calls to .BR madvise () specifying .BR MADV_WILLNEED . .\" As at kernel 2.6.12, this limit still does nothing in 2.6 though -.\" talk of making it do something continues in LKML -- MTK, Jul 05 +.\" talk of making it do something has surfaced from time to time in LKML +.\" -- MTK, Jul 05 .TP .BR RLIMIT_SIGPENDING " (Since Linux 2.6.8)" Specifies the limit on the number of signals