Hi Mark, could you please also review my patch? It fixes a problem, which is not related to RLIMIT thing described by mickey.
On Thursday 08 November 2012 14:30:07 Mark Kettenis wrote: > > Date: Thu, 8 Nov 2012 13:08:24 +0000 > > From: Stuart Henderson <s...@spacehopper.org> > > > > Oh talking of RLIMIT reminds me...can someone who knows this area take > > a look at http://thread.gmane.org/gmane.os.aeriebsd.general/100 please? > > Change looks reasonable, but I think that instead of multiplying > vm_ssize by PAGE_SIZE, the could should use atop() to convert > rlim_cur/rlim_max to a number of pages. That is how the checks are > done in uvm/uvm_unix.c.