mm-damon-simplify-stop-mechanism.patch removed from -mm tree
The patch titled
Subject: mm/damon: simplify stop mechanism
has been removed from the -mm tree. Its filename was
mm-damon-simplify-stop-mechanism.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Changbin Du <[email protected]>
Subject: mm/damon: simplify stop mechanism
A kernel thread can exit gracefully with kthread_stop(). So we don't need a new flag 'kdamond_stop'. And to make sure the task struct is not freed when accessing it, get reference to it before termination.
Signed-off-by Changbin Du <[email protected]>
Reviewed-by SeongJae Park <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/damon.h | 1 mm/damon/core.c | 51 +++++++++++----------------------------- 2 files changed, 15 insertions(+), 37 deletions(-)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-simplify-stop-mechanism +0 -1
@@ -381,7 +381,6 @@ struct damon_ctx {/* public: */ struct task_struct *kdamond; -bool kdamond_stop;struct mutex kdamond_lock;struct damon_primitive primitive;
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-simplify-stop-mechanism +15 -36
117 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are