Files
linux-st/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-20 09:03:12 -07:00
2008-10-16 11:21:38 -07:00
2008-10-15 15:54:56 -04:00
2008-10-20 11:01:52 -07:00
2008-10-16 11:21:51 -07:00
2008-10-20 08:52:42 -07:00
2008-10-20 08:52:32 -07:00
2008-10-16 11:21:32 -07:00
2008-10-18 14:29:15 +01:00
2008-10-16 16:53:13 +02:00
2008-10-23 16:00:24 +02:00
2008-10-16 16:08:57 +02:00
2008-10-16 11:21:40 -07:00
2008-10-22 14:45:11 +02:00
2008-10-22 20:21:33 +02:00
2008-10-16 11:21:38 -07:00
2008-10-18 14:29:15 +01:00
2008-10-18 14:05:18 +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-20 08:52:31 -07:00
2008-10-20 08:52:30 -07:00
2008-10-22 10:00:23 +11:00
2008-10-17 13:06:45 -04:00
2008-10-20 08:52:32 -07:00
2008-10-20 08:50:26 -07:00
2008-10-16 11:21:49 -07: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
2008-10-20 08:52:39 -07:00
2008-10-16 11:21:46 -07:00
2008-10-16 11:21:46 -07:00
2008-10-20 08:52:40 -07:00
2008-10-20 08:52:31 -07:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:45 -07:00
2008-10-17 14:41:02 -07:00
2008-10-16 11:21:31 -07:00