All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] mmoom_reaper-remove-pointless-kthread_run-error-check.patch removed from -mm tree
@ 2017-11-16 20:05 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-16 20:05 UTC (permalink / raw)
  To: mhocko, mm-commits, penguin-kernel


The patch titled
     Subject: mm,oom_reaper: remove pointless kthread_run() error check
has been removed from the -mm tree.  Its filename was
     mmoom_reaper-remove-pointless-kthread_run-error-check.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Subject: 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>
---

 mm/oom_kill.c |    8 --------
 1 file changed, 8 deletions(-)

diff -puN mm/oom_kill.c~mmoom_reaper-remove-pointless-kthread_run-error-check mm/oom_kill.c
--- a/mm/oom_kill.c~mmoom_reaper-remove-pointless-kthread_run-error-check
+++ a/mm/oom_kill.c
@@ -640,9 +640,6 @@ static int oom_reaper(void *unused)
 
 static void wake_oom_reaper(struct task_struct *tsk)
 {
-	if (!oom_reaper_th)
-		return;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-16 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16 20:05 [merged] mmoom_reaper-remove-pointless-kthread_run-error-check.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.