Revision 7d638093d4b0e9ef15bd78f38f11f126e773cc14 authored by Vladimir Davydov on 10 June 2015, 18:14:46 UTC, committed by Linus Torvalds on 10 June 2015, 23:43:43 UTC
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 <vdavydov@parallels.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 85bd839
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 276 bytes |
deflate.c | -rw-r--r-- | 40.2 KB |
deflate_syms.c | -rw-r--r-- | 377 bytes |
deftree.c | -rw-r--r-- | 39.6 KB |
defutil.h | -rw-r--r-- | 11.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...