summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorDavid Rientjes2015-04-15 00:48:21 +0200
committerLinus Torvalds2015-04-15 01:49:06 +0200
commit11d83360452ea2a95e699da01f8e1bcc4676a5de (patch)
tree22d85ebbc47a9152cafc9373a8300d0abf92106b /mm/hugetlb.c
parentmemcg: print cgroup information when system panics due to panic_on_oom (diff)
downloadkernel-qcow2-linux-11d83360452ea2a95e699da01f8e1bcc4676a5de.tar.gz
kernel-qcow2-linux-11d83360452ea2a95e699da01f8e1bcc4676a5de.tar.xz
kernel-qcow2-linux-11d83360452ea2a95e699da01f8e1bcc4676a5de.zip
mm, mempool: do not allow atomic resizing
Allocating a large number of elements in atomic context could quickly deplete memory reserves, so just disallow atomic resizing entirely. Nothing currently uses mempool_resize() with anything other than GFP_KERNEL, so convert existing callers to drop the gfp_mask. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: Steffen Maier <maier@linux.vnet.ibm.com> [zfcp] Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Steve French <sfrench@samba.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions