Skip to contentSkip to conversation

mm-damon-remove-unnecessary-do_exit-from-kdamond.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

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 <[email protected]>
Subject: mm/damon: remove unnecessary do_exit() from kdamond

Just return from the kthread function.

---

 mm/damon/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-remove-unnecessary-do_exit-from-kdamond +1 -1
@@ -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 [email protected] are