Re: setrlimit for RLIMIT_RSS not enforced

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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at