Files
kernel/include/linux
Kurt Garloff 0833422274 mm: increase the default mlock limit from 32k to 64k
By default, non-privileged tasks can only mlock() a small amount of
memory to avoid a DoS attack by ordinary users.  The Linux kernel
defaulted to 32k (on a 4k page size system) to accommodate the needs of
gpg.

However, newer gpg2 needs 64k in various circumstances and otherwise
fails miserably, see bnc#329675.

Change the default to 64k, and make it more agnostic to PAGE_SIZE.

Signed-off-by: Kurt Garloff <garloff@suse.de>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-30 11:38:45 -07:00
..
2008-10-22 01:19:37 +02:00
2008-10-23 16:00:24 +02:00
2008-10-22 14:45:11 +02:00
2008-10-22 20:21:33 +02:00
2008-10-23 00:11:07 -04:00
2008-10-28 14:22:15 +02:00
2008-10-20 22:34:12 +01:00
2008-10-22 10:00:23 +11:00
2008-10-22 16:42:43 -07:00
2008-10-23 00:11:07 -04:00
2008-10-23 18:54:05 +04:00