diff options
author | David Rientjes <[email protected]> | 2015-04-14 15:48:21 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-14 16:49:06 -0700 |
commit | 11d83360452ea2a95e699da01f8e1bcc4676a5de (patch) | |
tree | 22d85ebbc47a9152cafc9373a8300d0abf92106b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 2415b9f5cb048a803b30b790af994ba71ff0bd4c (diff) |
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.
[[email protected]: coding-style fixes]
Signed-off-by: David Rientjes <[email protected]>
Acked-by: Steffen Maier <[email protected]> [zfcp]
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Steve French <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions