linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* setrlimit for RLIMIT_RSS not enforced
@ 2006-01-04 21:29 Ram Gupta
  2006-01-09 14:25 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Ram Gupta @ 2006-01-04 21:29 UTC (permalink / raw)
  To: linux-kernel

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?

Thanks
Ram Gupta

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setrlimit for RLIMIT_RSS not enforced
  2006-01-04 21:29 setrlimit for RLIMIT_RSS not enforced Ram Gupta
@ 2006-01-09 14:25 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-01-09 14:25 UTC (permalink / raw)
  To: Ram Gupta; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-09 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-04 21:29 setrlimit for RLIMIT_RSS not enforced Ram Gupta
2006-01-09 14:25 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).