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 |
---|---|---|
README.hm12 | -rw-r--r-- | 4.0 KB |
README.vbi | -rw-r--r-- | 2.3 KB |
fw-calling.txt | -rw-r--r-- | 2.8 KB |
fw-decoder-api.txt | -rw-r--r-- | 8.0 KB |
fw-decoder-regs.txt | -rw-r--r-- | 22.8 KB |
fw-dma.txt | -rw-r--r-- | 3.6 KB |
fw-encoder-api.txt | -rw-r--r-- | 18.8 KB |
fw-memory.txt | -rw-r--r-- | 4.6 KB |
fw-osd-api.txt | -rw-r--r-- | 7.7 KB |
fw-upload.txt | -rw-r--r-- | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...