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 |
---|---|---|
.gitignore | -rw-r--r-- | 13 bytes |
00-INDEX | -rw-r--r-- | 590 bytes |
Makefile | -rw-r--r-- | 137 bytes |
NO_HZ.txt | -rw-r--r-- | 16.5 KB |
highres.txt | -rw-r--r-- | 12.3 KB |
hpet.txt | -rw-r--r-- | 1.5 KB |
hpet_example.c | -rw-r--r-- | 5.4 KB |
hrtimers.txt | -rw-r--r-- | 8.7 KB |
timekeeping.txt | -rw-r--r-- | 8.8 KB |
timer_stats.txt | -rw-r--r-- | 3.0 KB |
timers-howto.txt | -rw-r--r-- | 3.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...