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.)
This commit is contained in:
Michael Kerrisk 2005-07-13 13:05:56 +00:00
parent 9d8b1d5f55
commit 9426c9ddbf
1 changed files with 3 additions and 2 deletions

View File

@ -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