Re: [PATCH] RSS ulimit enforcement for 2.6.8

From: Rik van Riel
Date: Thu Aug 05 2004 - 15:56:48 EST


On Thu, 5 Aug 2004, Bill Davidsen wrote:
> Rik van Riel wrote:
> > The patch below implements RSS ulimit enforcement for 2.6.8-rc3-mm1.

> Wish there was something like RSS for cache, so that one process reading
> every inode on the planet, or doing an md5 on an 11GB file wouldn't push
> every damn process out if it's waiting for me to finish typing a line...

I guess that's beyond the scope of a simple patch, you may
be interested in CKRM for something like that:

http://ckrm.sf.net/

For now I'm just interested in filling out the holes in
rlimit for the mainline kernel, as well as putting some
simple resource enforcement things in place.

I'm not about to add something complex at this stage ;)

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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