diff options
author | David Rientjes <rientjes@google.com> | 2011-11-01 00:07:07 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 00:30:45 (GMT) |
commit | f660daac474c6f7c2d710100e29b3276a6f4db0a (patch) | |
tree | ad142e254a7b804cb158f2c64e9e6a77e8e4388c /fs/squashfs | |
parent | d08c429b06d21bd2add88aea2cd1996f1b9b3bda (diff) | |
download | linux-fsl-qoriq-f660daac474c6f7c2d710100e29b3276a6f4db0a.tar.xz |
oom: thaw threads if oom killed thread is frozen before deferring
If a thread has been oom killed and is frozen, thaw it before returning to
the page allocator. Otherwise, it can stay frozen indefinitely and no
memory will be freed.
Signed-off-by: David Rientjes <rientjes@google.com>
Reported-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
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>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions