From patchwork Fri Nov 5 20:46:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12605839 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAE2CC433EF for ; Fri, 5 Nov 2021 20:46:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 89D4E61362 for ; Fri, 5 Nov 2021 20:46:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 89D4E61362 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 0FAF79400D5; Fri, 5 Nov 2021 16:46:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0AA409400C1; Fri, 5 Nov 2021 16:46:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EDB679400D5; Fri, 5 Nov 2021 16:46:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0141.hostedemail.com [216.40.44.141]) by kanga.kvack.org (Postfix) with ESMTP id D53959400C1 for ; Fri, 5 Nov 2021 16:46:08 -0400 (EDT) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 9C1B91849531F for ; Fri, 5 Nov 2021 20:46:08 +0000 (UTC) X-FDA: 78776058816.31.3A1221F Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf28.hostedemail.com (Postfix) with ESMTP id 4ABF190000BA for ; Fri, 5 Nov 2021 20:46:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 6C1EE61288; Fri, 5 Nov 2021 20:46:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1636145167; bh=NRDUh2MdEyFRB0KledZvV54NdO0zcH9XWhGWSwoPEzw=; h=Date:From:To:Subject:In-Reply-To:From; b=uAnuQqciTDUsVLwlmw4Xxg+vscxCFLrsD7iWs4cP6vHp3QbS91+hHrk6yvCGF79oE Oofa0f/Qr7JuWfGJsoQUBsNRb6aFe02e7E+GwsOEQSLCGV45K0sbHTMJU/CJPUQ2jq WPcPTLL13FxannVHewoe5eGeZFcWVEIM6tn1tswg= Date: Fri, 05 Nov 2021 13:46:06 -0700 From: Andrew Morton To: akpm@linux-foundation.org, corbet@lwn.net, linux-mm@kvack.org, mm-commits@vger.kernel.org, sj@kernel.org, sjpark@amazon.de, torvalds@linux-foundation.org Subject: [patch 219/262] mm/damon/core: print kdamond start log in debug mode only Message-ID: <20211105204606.buFORSv6G%akpm@linux-foundation.org> In-Reply-To: <20211105133408.cccbb98b71a77d5e8430aba1@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=uAnuQqci; dmarc=none; spf=pass (imf28.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 4ABF190000BA X-Stat-Signature: nuxwm1ttz61czdzrbruuhbrgu7my3w6x X-HE-Tag: 1636145168-992183 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: SeongJae Park Subject: mm/damon/core: print kdamond start log in debug mode only Logging of kdamond startup is using 'pr_info()' unnecessarily. This commit makes it to use 'pr_debug()' instead. Link: https://lkml.kernel.org/r/20210917123958.3819-6-sj@kernel.org Signed-off-by: SeongJae Park Cc: Jonathan Corbet Cc: SeongJae Park Signed-off-by: Andrew Morton --- mm/damon/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/damon/core.c~mm-damon-core-print-kdamond-start-log-in-debug-mode-only +++ a/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)