summaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorKurt Garloff2008-10-29 22:00:48 +0100
committerLinus Torvalds2008-10-30 19:38:45 +0100
commit0833422274ff00729a603b020fac297e69a03e40 (patch)
tree5b2f28bc0854a9e3a43eef424a761a2235f756bb /Documentation/spi
parentMerge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/... (diff)
downloadkernel-qcow2-linux-0833422274ff00729a603b020fac297e69a03e40.tar.gz
kernel-qcow2-linux-0833422274ff00729a603b020fac297e69a03e40.tar.xz
kernel-qcow2-linux-0833422274ff00729a603b020fac297e69a03e40.zip
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>
Diffstat (limited to 'Documentation/spi')
0 files changed, 0 insertions, 0 deletions