Messages in this thread | | | Date | Wed, 4 Aug 2004 14:45:04 -0700 | From | Chris Wright <> | Subject | Re: [PATCH] mlock-as-user for 2.6.8-rc2-mm2 |
| |
* Rik van Riel (riel@redhat.com) wrote: > On Wed, 4 Aug 2004, Arjan van de Ven wrote: > > On Wed, Aug 04, 2004 at 02:24:01PM -0700, Andrew Morton wrote: > > > > Can you think of some way in which we can artificially tweak the patch > > > for testing so that its new features are getting some exercise? > > > > gpg uses mlock (well it tries to) which is why the fedora patch has a > > 4Kb default ;) > > I guess we need to figure out how much memory gpg mlocks by > default (16kB?) and set the default rlimit to that. Then > every gpg user out there will automatically test the code ;)
Last time I checked it wants 8 pages (32k).
thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |