On Thu, Jul 11, 2002 at 09:35:52PM -0300, Rik van Riel wrote: > I've implemented RSS limits in the -rmap VM. > > Note, however, that excess RSS of processes is _not_ swapped > out if there is enough memory available... I am sorry I am not very clear here. Say if there are 400MB free memory space, and I try to limit RSS of a process started by bash to 4000KB by doing "ulimit -Hm 4000", then after the process is fired up, would its RSS value possibly exceed 4000KB? But after applying your patch: http://www.surriel.com/patches/2.4/2.4.18-rmap12h I still couldn't impose the RSS limit, when there is enough memory available. (BTW, I used "top" to monitor the RSS of the process) Thanks! -- regards, ZM -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/