path: root/drivers/block
diff options
authorVladimir Davydov <>2015-06-10 11:14:46 -0700
committerLinus Torvalds <>2015-06-10 16:43:43 -0700
commit7d638093d4b0e9ef15bd78f38f11f126e773cc14 (patch)
tree1b491946b967b573c0394c58032fcc38e8aeca1d /drivers/block
parent85bd839983778fcd0c1c043327b14a046e979b39 (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 <> Cc: Johannes Weiner <> Acked-by: Michal Hocko <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions