From: David Rientjes Date: Tue, 14 Apr 2015 22:48:21 +0000 (-0700) Subject: mm, mempool: do not allow atomic resizing X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11d83360452ea2a95e699da01f8e1bcc4676a5de;p=pandora-kernel.git 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 Acked-by: Steffen Maier [zfcp] Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Steve French Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed