Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp855473iof; Mon, 6 Jun 2022 13:57:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIgH0MRYER5KcrOniUS2H1qjxFspkhPKTpywk3oNZu7fEu+cZRXSh/1svtE1YzJi70LLgc X-Received: by 2002:a05:6402:2753:b0:423:3895:7031 with SMTP id z19-20020a056402275300b0042338957031mr29059206edd.170.1654549052657; Mon, 06 Jun 2022 13:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654549052; cv=none; d=google.com; s=arc-20160816; b=L171XonFLr2XqfKKRGQqVuTcdYKqst/JD1eHk3eJOTQ1+mCi4k1GlNc+S7Mkqe/tdF dd0DnpUliCOZ1vRYwoGri+vlBfP9JCVGzb2Vs+CTmcwabv6HkOiZcqhP5Wlc6OguqkkI juRfcJ99sxMY+hjmkpnxT3gTixZM04zgZGEQ7RYugcz72YGIl36RtJKlGfa+QCzQQcdy 8FaVoaXFxCd8Y9I67YH80cYt6enbBDFnwCgjc6mA1djVRXBN7ZR3aW4f6hMyoi7aKuDh xHBK4538kUxcCgQczcl9IqGkxGQZA5AedyFf+geLKEh7fhVgOdV1A328pjmNvaBFqeIL 6g7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kZPJdIeqjlNSIteuePKfaGMBfev+FgdYLCBhpcR4djs=; b=bMseNmnzitduEO60ixSKFYkttgHZQ+fTpvkRl+OJkBt67o9h7dAu0+H9a3MUfe68Sx fy9lHvRRZHfdS7q/lKFMwcba9oHIz/uZh5wE/geRT4yAnz02eHOYwiQ2yowuFlIjvK4c Wx2mAJNKEKu12ZlgFM+IRRxsB7JMUafNez3ceKLq+7M6jeav7d994AQ9PbUNh7BO4qRT lNu1Z2u3myXuBrwxDX2meoqnLM8fJVEfdZQLM/aZdT5+zhu7ux3xtAYfKWOyC6IwI/Jj f+gmshIGZskOWWIZoUetZb+Ak2AwvVj74pKWMaLGeiWBqJMQYXnVUwPFBLX6ru/hwnvE ldog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lTHVR2x6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm4-20020a170907948400b0070939c272f8si16848593ejc.273.2022.06.06.13.57.06; Mon, 06 Jun 2022 13:57:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lTHVR2x6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231576AbiFFSXf (ORCPT + 99 others); Mon, 6 Jun 2022 14:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231583AbiFFSXX (ORCPT ); Mon, 6 Jun 2022 14:23:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 001391059F8; Mon, 6 Jun 2022 11:23:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9BC0161336; Mon, 6 Jun 2022 18:23:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B6CEC341C0; Mon, 6 Jun 2022 18:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654539801; bh=FuYn5OaBm/cdGtgDHAKwyk/NB5Y5Xx2dRB0uYwvqtbI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lTHVR2x65cV9HsW/o06kyp604ujtkTQmRbApF/mteXZb9eHjqhKmnuXWcYEHlCnV0 uG4U1ETDaKCJWJLDC1+U6ibmwsX41DXZrlz5Ykx1WxkxFxr1mpOO0qglWWJPINaTmO gCO6OF+KZfvll4FZEn4kZX2wve2tNfgC3rNmoTcpeWvPkENWytqks6ck4QbcDdjrbx cB/X8Gk5dJbFUNsfW0eyVU/cF0oT39DRJruw2S1DVjbErlNXgInirmdDaxq0h4reA/ NjomkYMDQCaoMCoJLdc8i1TftJA6JO5BQDo+r6z8ODW3TdFJVS6hPeScHtK7dLsQPa NEL/3ariFGPiA== From: SeongJae Park To: akpm@linux-foundation.org Cc: corbet@lwn.net, damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 6/6] mm/damon/reclaim: add 'damon_reclaim_' prefix to 'enabled_store()' Date: Mon, 6 Jun 2022 18:23:10 +0000 Message-Id: <20220606182310.48781-7-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220606182310.48781-1-sj@kernel.org> References: <20220606182310.48781-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds 'damon_reclaim_' prefix to 'enabled_store()', so that we can distinguish it easily from the stack trace using 'faddr2line.sh' like tools. Signed-off-by: SeongJae Park --- mm/damon/reclaim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/damon/reclaim.c b/mm/damon/reclaim.c index 38da28803d75..e69b807fefe4 100644 --- a/mm/damon/reclaim.c +++ b/mm/damon/reclaim.c @@ -371,7 +371,7 @@ static DECLARE_DELAYED_WORK(damon_reclaim_timer, damon_reclaim_timer_fn); static bool damon_reclaim_initialized; -static int enabled_store(const char *val, +static int damon_reclaim_enabled_store(const char *val, const struct kernel_param *kp) { int rc = param_set_bool(val, kp); @@ -388,7 +388,7 @@ static int enabled_store(const char *val, } static const struct kernel_param_ops enabled_param_ops = { - .set = enabled_store, + .set = damon_reclaim_enabled_store, .get = param_get_bool, }; -- 2.25.1