All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] mm-damon-remove-unnecessary-do_exit-from-kdamond.patch removed from -mm tree
@ 2021-11-11  2:48 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-11-11  2:48 UTC (permalink / raw)
  To: changbin.du, mm-commits, sjpark


The patch titled
     Subject: mm/damon: remove unnecessary do_exit() from kdamond
has been removed from the -mm tree.  Its filename was
     mm-damon-remove-unnecessary-do_exit-from-kdamond.patch

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

------------------------------------------------------
From: Changbin Du <changbin.du@gmail.com>
Subject: mm/damon: remove unnecessary do_exit() from kdamond

Just return from the kthread function.

Link: https://lkml.kernel.org/r/20210927232421.17694-1-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Cc: SeongJae Park <sjpark@amazon.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/damon/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/damon/core.c~mm-damon-remove-unnecessary-do_exit-from-kdamond
+++ a/mm/damon/core.c
@@ -714,7 +714,7 @@ static int kdamond_fn(void *data)
 	nr_running_ctxs--;
 	mutex_unlock(&damon_lock);
 
-	do_exit(0);
+	return 0;
 }
 
 #include "core-test.h"
_

Patches currently in -mm which might be from changbin.du@gmail.com are



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

only message in thread, other threads:[~2021-11-11  2:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11  2:48 [merged] mm-damon-remove-unnecessary-do_exit-from-kdamond.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.