On Thu, Oct 25, 2007 at 16:46:26 +0200, Jiri Kosina wrote:
Thanks, Jiri, now RLIMIT_DATA works as expected.
Using only RLIMIT_AS to limit processes' memory usage is not
very easy. It includes also libraries mapped read-only,
I have to check/modify the limits when I update/add
libraries,...
Amazingly, I found a patch which seems to be just what I need:
http://marc.info/?l=linux-mm&m=118402827803338&w=4
Seems like that is not going to -mm or mainstream...
--
Do what you love because life is too short for anything else.
-