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 |
---|---|---|
00-INDEX | -rw-r--r-- | 826 bytes |
API.txt | -rw-r--r-- | 2.3 KB |
FMC-and-SDB.txt | -rw-r--r-- | 3.7 KB |
carrier.txt | -rw-r--r-- | 14.0 KB |
fmc-chardev.txt | -rw-r--r-- | 3.1 KB |
fmc-fakedev.txt | -rw-r--r-- | 1.6 KB |
fmc-trivial.txt | -rw-r--r-- | 464 bytes |
fmc-write-eeprom.txt | -rw-r--r-- | 4.3 KB |
identifiers.txt | -rw-r--r-- | 7.7 KB |
mezzanine.txt | -rw-r--r-- | 5.7 KB |
parameters.txt | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...