--- include/linux/resource.h.orig 2008-04-27 21:15:47.000000000 +0200 +++ include/linux/resource.h 2008-04-27 21:23:06.000000000 +0200 @@ -58,10 +58,11 @@ #define _STK_LIM (8*1024*1024) /* - * GPG wants 32kB of mlocked memory, to make sure pass phrases - * and other sensitive information are never written to disk. + * The biggest widespread mlocked memory consumer is + * gnome-keyring-manager. It needs 256kB to make sure SSH/GPG + * passphrases and network passwords are never written to disk. */ -#define MLOCK_LIMIT (8 * PAGE_SIZE) +#define MLOCK_LIMIT (64 * PAGE_SIZE) /* * Due to binary compatibility, the actual resource numbers