]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mm/damon/core: print kdamond start log in debug mode only
authorSeongJae Park <sj@kernel.org>
Fri, 5 Nov 2021 20:46:06 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:44 +0000 (13:30 -0700)
Logging of kdamond startup is using 'pr_info()' unnecessarily.  This
makes it to use 'pr_debug()' instead.

Link: https://lkml.kernel.org/r/20210917123958.3819-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
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

index 30e9211f494a789e04a759464cff667c4f36543d..874558a790a0fb6a789eca2a79efa3a2232b61d4 100644 (file)
@@ -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)