]> git.baikalelectronics.ru Git - kernel.git/commit
mm,oom_reaper: remove pointless kthread_run() error check
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 16 Nov 2017 01:39:10 +0000 (17:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:07 +0000 (18:21 -0800)
commit4cfdc479634280a02743548b2dd4bf44a8dac989
tree3624b44f543ac020d49eb9e1b768049fe3066da8
parent7517937ecefc790c7505b8dbddef7d35d97344bf
mm,oom_reaper: remove pointless kthread_run() error check

Since oom_init() is called before userspace processes start, memory
allocation failure for creating the OOM reaper kernel thread will let
the OOM killer call panic() rather than wake up the OOM reaper.

Link: http://lkml.kernel.org/r/1510137800-4602-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c