projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704571f
)
mm/damon: remove unnecessary do_exit() from kdamond
author
Changbin Du
<changbin.du@gmail.com>
Fri, 5 Nov 2021 20:46:09 +0000
(13:46 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:44 +0000
(13:30 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/damon/core.c
patch
|
blob
|
history
diff --git
a/mm/damon/core.c
b/mm/damon/core.c
index 874558a790a0fb6a789eca2a79efa3a2232b61d4..61a9e3b37bc9d2864c4b2d34e28f4df4c284f153 100644
(file)
--- a/
mm/damon/core.c
+++ b/
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"