David Rientjes 11d8336045 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>
2015-04-14 16:49:06 -07:00
..
2014-12-10 17:41:02 -08:00
2014-12-14 14:55:45 -06:00
2014-12-10 17:41:02 -08:00
2013-11-08 05:57:46 +09:00
2015-04-01 00:01:47 -05:00
2015-01-18 23:49:26 -05:00
2014-10-17 17:17:12 -05:00
2014-12-14 14:55:57 -06:00
2015-04-01 00:01:47 -05:00
2014-12-14 14:55:45 -06:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00