From patchwork Fri Sep 17 12:39:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501949 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F876C28CA9 for ; Fri, 17 Sep 2021 12:40:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6C52861246 for ; Fri, 17 Sep 2021 12:40:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6C52861246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 08C126B0078; Fri, 17 Sep 2021 08:40:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EE0226B007B; Fri, 17 Sep 2021 08:40:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DA7A7900002; Fri, 17 Sep 2021 08:40:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0174.hostedemail.com [216.40.44.174]) by kanga.kvack.org (Postfix) with ESMTP id CC91A6B0078 for ; Fri, 17 Sep 2021 08:40:47 -0400 (EDT) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 8722718134583 for ; Fri, 17 Sep 2021 12:40:47 +0000 (UTC) X-FDA: 78597024534.16.7F1C28D Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf20.hostedemail.com (Postfix) with ESMTP id 4DF5ED0000B4 for ; Fri, 17 Sep 2021 12:40:47 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 1ED7B61212; Fri, 17 Sep 2021 12:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882446; bh=2CIDCX6x1oa4sPUosrPEzBkEMFmr/pEDHd19Dz5rsho=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pw3RNRPS9HFzowWpSft1GEM0fHx93pRQguP2iuHvQ1GA2qvcRNPNuoFoTgDO1Lnsq //tDEKZIHV3GpDA91n9gmNDZyjVmaTosLytMfrFGt8ozW1g4CXO+oHH73sAkP3OkPe cHhsI5fQI7TATvMX3o1eZB3Nmz9wzXrD3iluaWw5G4m4EHROebg1JtyvcupF1JqZye d46m2DcjJc5f7NHqOK1YY0CepgrzaxI+GVp/D7gsmCzZSLNcbsnJ//uOMW+pGvvNe0 xBpnH2f1u+x7sVni3MAy/KdwWgTvhBcQlfaIO1PJp4Jxw0MyfXq+QZvG5eIAG4AX3N +z24RyYD2gwTg== From: SeongJae Park To: akpm@linux-foundation.org Cc: corbet@lwn.net, sj@kernel.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] mm/damon/core: Print kdamond start log in debug mode only Date: Fri, 17 Sep 2021 12:39:58 +0000 Message-Id: <20210917123958.3819-6-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210917123958.3819-1-sj@kernel.org> References: <20210917123958.3819-1-sj@kernel.org> X-Stat-Signature: p7oeip7orr39k379r3ioun3tn3t7ebhr Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pw3RNRPS; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf20.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 4DF5ED0000B4 X-HE-Tag: 1631882447-113816 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: Logging of kdamond startup is using 'pr_info()' unnecessarily. This commit makes it to use 'pr_debug()' instead. Signed-off-by: SeongJae Park --- 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)