From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796054278; b=fm95NfqZMxgQJt5bYruYIHCUhJPH+cekTBMgCo9ZVMzNmnp264Ad7d+y5DnuCozTCesW IhRraLPL5v56Tx90uDO5KRCCULobVFFm+BxPyofarKcukG94+HviwiZsYQtfAZ2txnBHz FyCChJvnJhRBOpzpNpEfGQEj2krf1edXErxydDIdbtNE7VsPKpWu1dFNaocMTV3PwEfQC WxnnR4rI7E6TSjsJ8vbu9wRgj16phkSUgNuimvRAd0ZKlKPbGDg13bVZzTdgqSCoC0ey5 NVFywSzpUhWOlcyU/mzRiOsckYVI+mM3xPTIHI3/f+Lllx0UdvrpgsZq1EeaXjVHARw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796054278; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=zkgSQ+rEGfq+P3t3IP/Z/D3ZPC6UMqJEFf5ibCqEbLA=; b=0zSVB7E4qs/Lr7Bj+mbBN/X2I6jOjj74tcJfAUpv+nmBWr/+si4PM8LRICuZPTB4GUbq fyqBKZAk9pQTU6xtygelQOeq1mLA7nimSNdij+EFQqEnFlU2TuWQizE7fMD4glrR2782r 1tGg8Wu6z9RScgvQkib93roowzhpoM5wNf8wcU2JpztznD0R+lI7FBMgvAuQ3F6XkxFN/ ZhH8g0nEEa/rDCD6Y/AyaV1iIhwSk4RnLVj+x/bOWMBTH7op75TfjcwbFmzsMuORbHTjX 185YD95iDBh1xON0zJVsFqTP9o255Zo9PoBXemJhfgEvgucrJWdL9h/EjqvqrZ4Lj8w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ISWCzt9V; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93ABF606A320 for ; Mon, 30 Nov 2026 15:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ISWCzt9V Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87C091F02EF2; Mon, 30 Nov 2026 15:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796054277; bh=zkgSQ+rEGfq+P3t3IP/Z/D3ZPC6UMqJEFf5ibCqEbLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ISWCzt9Vz0xhXJUUqfEjHv5AeOL3rieyAztLa+O3Hxat1Nnlv2gYC0gb89lxRdhL7 ooi3hdejrGbyV315WCDCFN27mXx36/N3KgfeLazeIaaXyM65kbYalclqBBVOoHeGDk KXWYYfG6pL20m4XisRVWqO3ImIRig6Bfnv9xWsJE/TMT29z/LpJmug6OiGe2sSjHCA ukiktd2XPeXCE6foI8JCeHky4zYUGwwWWQaZhUF6k8GAvkCkHuqqK5xuE8fHzl6Z+B BtqR+jqb/clVq+ozAWWNWdz7zL7EckcPTVhBACyoE0UX5n5zFujOBIgZ5eHDGDP0fv agYJMHYtaDsog== From: SJ Park To: sashiko-bot@kernel.org Cc: SJ Park , "Andrew Morton" , "Brendan Higgins" , "David Gow" , damon@lists.linux.dev, kunit-dev@googlegroups.com, linux-mm@kvack.org Subject: Re: [RFC PATCH 1/3] Revert "mm/damon/tests/core-kunit: test the size charged for a filter-trimmed region" Date: Mon, 30 Nov 2026 07:57:48 -0800 Message-ID: <20261130155750.108630-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: X-Mailing-List: damon@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Mon, 30 Nov 2026 15:32:49 +0000 sashiko-bot@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 1 potential > issue to consider: > - [Low] mm/damon: revert removes quota KUnit test > damos_test_apply_scheme_quota_sz() > -- > > commit 4862262ff70f1be1e1a5ee23327f2295ebc0c57d > Author: SJ Park > > Revert "mm/damon/tests/core-kunit: test the size charged for a filter-trimmed region" > > This commit reverts 1c3352282063 ("mm/damon/tests/core-kunit: test the size > charged for a filter-trimmed region"), removing its KUnit test cases from > mm/damon/tests/core-kunit.h. > > > diff --git a/mm/damon/tests/core-kunit.h b/mm/damon/tests/core-kunit.h > > index 73c3bd6a96125..5244ac0ffc285 100644 > > --- a/mm/damon/tests/core-kunit.h > > +++ b/mm/damon/tests/core-kunit.h > > [ ... ] > > > @@ -2780,9 +2467,6 @@ static struct kunit_case damon_test_cases[] = { > > KUNIT_CASE(damos_test_age_ms_filter_is_core), > > KUNIT_CASE(damos_test_age_ms_filter_interval_changes), > > KUNIT_CASE(damos_test_filter_out), > > - KUNIT_CASE(damos_test_apply_scheme_filtered_sz), > > - KUNIT_CASE(damos_test_apply_scheme_filter_sz_unchanged), > > - KUNIT_CASE(damos_test_apply_scheme_quota_sz), > > [Severity: Low] > Does reverting 1c3352282063 ("mm/damon/tests/core-kunit: test the size > charged for a filter-trimmed region") in full also drop > damos_test_apply_scheme_quota_sz(), which does not test core filters? Makes sense. I will drop only the first two tests. > > The commit message says 1c3352282063 ("mm/damon/tests/core-kunit: test > the size charged for a filter-trimmed region") added two tests that > duplicate damos_test_filter_out(), but it added three. The third test, > damos_test_apply_scheme_quota_sz(), uses no filters and instead tests > damos_apply_scheme() when c->ops.apply_scheme is NULL, when quota.esz > splits a region, and when the remaining quota is smaller than a region, > none of which damos_test_filter_out() covers. > > -- > Sashiko AI review ยท https://sashiko.dev/#/patchset/20261130152242.90137-1-sj@kernel.org?part=1 > Thanks, SJ