lkml.org 
[lkml]   [2006]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: setrlimit for RLIMIT_RSS not enforced
From
Date
On Mer, 2006-01-04 at 15:29 -0600, Ram Gupta wrote:
> I am wondering why setrlimit for RLIMIT_RSS is not enforced? Is
> there any particular reason for not implementing it? Is there any
> taker if I implement it & submit patch for it?


I had a long long dig back through my mail archive in search of
RLIMIT_RSS. The original mm for Linux didn't enforce it as it did not
have any way to track RSS that was not computationally expensive. The
current mm is probably capable of implementing RSS limits although
questions then still remain about what effect this has if a user sets a
low RSS limit and then causes a lot of swap thrashing.

If you can see a way to implement it efficiently then go for it.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-09 15:25    [W:0.023 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site