diff options
author | Vladimir Davydov <[email protected]> | 2015-06-10 11:14:46 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-06-10 16:43:43 -0700 |
commit | 7d638093d4b0e9ef15bd78f38f11f126e773cc14 (patch) | |
tree | 1b491946b967b573c0394c58032fcc38e8aeca1d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 85bd839983778fcd0c1c043327b14a046e979b39 (diff) |
memcg: do not call reclaim if !__GFP_WAIT
When trimming memcg consumption excess (see memory.high), we call
try_to_free_mem_cgroup_pages without checking if we are allowed to sleep
in the current context, which can result in a deadlock. Fix this.
Fixes: 241994ed8649 ("mm: memcontrol: default hierarchy interface for memory")
Signed-off-by: Vladimir Davydov <[email protected]>
Cc: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[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