From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4ACF01C766 for ; Fri, 9 Jun 2023 19:16:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60A48C4339C; Fri, 9 Jun 2023 19:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686338185; bh=tJjWk6hGIUwDfmPq3y89WUdeFFNwy2a0cWqN5OR7kJ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KF5au+WfV0NuB0ror1osdkBAbZLKNTlIzfO7xdF9/kwLYpsNE6bOUjL7l4mW218XN Zswfyuk+qs/TjZiP60VijNjhYEQb3fvxWDeXRcmfeTizhr1nMK7uc4kGXMeveApGzU DaTl9qgAo/giDkLqZFy3Kwoh0oLKcXvsOGe9H6wBVmdyAvgdDeHEqTwJ1DoKUB3omv EfD04rIlueqhUKXR5cJFhOxX3v44n2ltyE02VWNXRKLAbQryQA5ntHT5YM1gN6JypB bVNXhWX34B7ujj5CH/cxteXyMcsiZ18cGgH8ZBt46a3Sw1/kY/GgPhkn5fv+mZ3Lxp fhCegvfX8DQJQ== From: SeongJae Park To: SeongJae Park Cc: akpm@linux-foundation.org, Anders Roxell , shuah@kernel.org, linux-kernel@vger.kernel.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Naresh Kamboju Subject: Re: [PATCHv2] selftests: damon: add config file Date: Fri, 9 Jun 2023 19:16:22 +0000 Message-Id: <20230609191622.80289-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230412165806.80672-1-sj@kernel.org> References: Precedence: bulk X-Mailing-List: damon@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Wed, 12 Apr 2023 16:58:06 +0000 SeongJae Park wrote: > Hi Anders, > > On Wed, 12 Apr 2023 11:28:54 +0200 Anders Roxell wrote: > > > Building and running the subsuite 'damon' of kselftest, shows the > > following issues: > > selftests: damon: debugfs_attrs.sh > > /sys/kernel/debug/damon not found > > > > By creating a config file enabling DAMON fragments in the > > selftests/damon/ directory the tests pass. > > > > Fixes: b348eb7abd09 ("mm/damon: add user space selftests") > > Reported-by: Naresh Kamboju > > checkpatch.pl is warning as below: > > WARNING: Reported-by: should be immediately followed by Link: with a URL to the report > #20: > Reported-by: Naresh Kamboju > Signed-off-by: Anders Roxell > > The reason for the warning can be found from commit d7f1d71e5ef6 ("checkpatch: > warn when Reported-by: is not followed by Link:")'s commit message. Do you > have a link to put here? I guess the report was made inside Linaro, so might > have no publicly available link. Maybe better to add some notes or some funny > tag like "Link: N/A # no publicly-available link of the report" for convincing > the tool, but I don't think this should be a blocker for this patch. > > > Signed-off-by: Anders Roxell > > Reviewed-by: SeongJae Park Shuah, may I ask your opinion on this patch? I'm also cc-ing Andrew, as he may also interested in picking this patch. Thanks, SJ > > > Thanks, > SJ > > > --- > > tools/testing/selftests/damon/config | 7 +++++++ > > 1 file changed, 7 insertions(+) > > create mode 100644 tools/testing/selftests/damon/config > > > > diff --git a/tools/testing/selftests/damon/config b/tools/testing/selftests/damon/config > > new file mode 100644 > > index 000000000000..0daf38974eb0 > > --- /dev/null > > +++ b/tools/testing/selftests/damon/config > > @@ -0,0 +1,7 @@ > > +CONFIG_DAMON=y > > +CONFIG_DAMON_SYSFS=y > > +CONFIG_DAMON_DBGFS=y > > +CONFIG_DAMON_PADDR=y > > +CONFIG_DAMON_VADDR=y > > +CONFIG_DAMON_RECLAIM=y > > +CONFIG_DAMON_LRU_SORT=y > > -- > > 2.39.2 >