mm, oom: enforce exit_oom_victim on current task
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sat, 10 Sep 2016 10:34:10 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:10 +0000 (20:34 +1000)
commit8ff95631525c5cb9646d8216a3df19c6407c872d
treee62fa5eed4a6e17645b7c17e2018ebc31a15e55c
parent766df219aebdebe0abcc64d1b631e54ebaca7803
mm, oom: enforce exit_oom_victim on current task

There are no users of exit_oom_victim on !current task anymore so enforce
the API to always work on the current.

Link: http://lkml.kernel.org/r/1472119394-11342-8-git-send-email-mhocko@kernel.org
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Michal Hocko <mhocko@suse.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/oom.h
kernel/exit.c
mm/oom_kill.c
This page took 0.025708 seconds and 5 git commands to generate.