[PATCH 5/5] mm/damon/core: Print kdamond start log in debug mode only

From: SeongJae Park
Date: Fri Sep 17 2021 - 08:40:55 EST


Logging of kdamond startup is using 'pr_info()' unnecessarily. This
commit makes it to use 'pr_debug()' instead.

Signed-off-by: SeongJae Park <sj@xxxxxxxxxx>
---
mm/damon/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/damon/core.c b/mm/damon/core.c
index 30e9211f494a..874558a790a0 100644
--- a/mm/damon/core.c
+++ b/mm/damon/core.c
@@ -653,7 +653,7 @@ static int kdamond_fn(void *data)
unsigned long sz_limit = 0;

mutex_lock(&ctx->kdamond_lock);
- pr_info("kdamond (%d) starts\n", ctx->kdamond->pid);
+ pr_debug("kdamond (%d) starts\n", ctx->kdamond->pid);
mutex_unlock(&ctx->kdamond_lock);

if (ctx->primitive.init)
--
2.17.1