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-- | 2.5 KB |
api.txt | -rw-r--r-- | 11.9 KB |
arkfb.txt | -rw-r--r-- | 2.0 KB |
aty128fb.txt | -rw-r--r-- | 2.1 KB |
cirrusfb.txt | -rw-r--r-- | 1.9 KB |
cmap_xfbdev.txt | -rw-r--r-- | 1.9 KB |
deferred_io.txt | -rw-r--r-- | 3.0 KB |
efifb.txt | -rw-r--r-- | 593 bytes |
ep93xx-fb.txt | -rw-r--r-- | 4.2 KB |
fbcon.txt | -rw-r--r-- | 11.5 KB |
framebuffer.txt | -rw-r--r-- | 14.0 KB |
gxfb.txt | -rw-r--r-- | 1.2 KB |
intel810.txt | -rw-r--r-- | 8.3 KB |
intelfb.txt | -rw-r--r-- | 3.7 KB |
internals.txt | -rw-r--r-- | 2.6 KB |
lxfb.txt | -rw-r--r-- | 1.2 KB |
matroxfb.txt | -rw-r--r-- | 19.1 KB |
metronomefb.txt | -rw-r--r-- | 2.0 KB |
modedb.txt | -rw-r--r-- | 6.7 KB |
pvr2fb.txt | -rw-r--r-- | 2.2 KB |
pxafb.txt | -rw-r--r-- | 4.6 KB |
s3fb.txt | -rw-r--r-- | 2.5 KB |
sa1100fb.txt | -rw-r--r-- | 1.3 KB |
sh7760fb.txt | -rw-r--r-- | 4.4 KB |
sisfb.txt | -rw-r--r-- | 6.3 KB |
sm501.txt | -rw-r--r-- | 290 bytes |
sstfb.txt | -rw-r--r-- | 6.7 KB |
tgafb.txt | -rw-r--r-- | 2.4 KB |
tridentfb.txt | -rw-r--r-- | 2.6 KB |
udlfb.txt | -rw-r--r-- | 7.0 KB |
uvesafb.txt | -rw-r--r-- | 6.7 KB |
vesafb.txt | -rw-r--r-- | 6.1 KB |
viafb.modes | -rw-r--r-- | 30.8 KB |
viafb.txt | -rw-r--r-- | 9.6 KB |
vt8623fb.txt | -rw-r--r-- | 1.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...