Re: [PATCH] mlock-as-user for 2.6.8-rc2-mm2

From: Rik van Riel
Date: Wed Aug 04 2004 - 16:33:38 EST


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 ;)

--
"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/