DAMON development mailing list
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "SJ Park" <sj@kernel.org>
Cc: damon@lists.linux.dev
Subject: Re: [RFC PATCH mm-hotfixes-unstable v2] mm/damon/core: do not update stat for core filter rejecting region
Date: Sat, 28 Nov 2026 18:56:22 +0000	[thread overview]
Message-ID: <sashiko-outbox-238973@kernel.org> (raw)
In-Reply-To: <20261128185140.163079-1-sj@kernel.org>

> damos_apply_scheme() update stats for regions that were unable to apply
> the scheme due to the quota.  Those are counted as tried and failed.  It
> doesn't update stats for regions that were rejected by DAMOS core
> filters.  Those are counted as not tried at all.
> 
> However, the DAMOS quota-driven failure is handled before DAMOS core
> filters.  Regions that would be rejected by the core filter can, hence,
> be accounted as tried and failed.  As a result, users could show
> confusing stat changes.
> 
> Fix by handling core filters before quotas.
> 
> The user impact is not critical.  No crash or leak happens.  Only the
> DAMOS stat could occasionally move in an unexpected way.
> 
> Fixes: ab9bda001b68 ("mm/damon/core: introduce address range type damos filter")
> Cc: <stable@vger.kernel.org> # 6.6.x
> Closes: https://sashiko.dev/#/bug/linux-9c51890e-a25c-4534-afab-ef33f22a9557
> Signed-off-by: SJ Park <sj@kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128185140.163079-1-sj@kernel.org?part=1

      reply	other threads:[~2026-11-28 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 18:51 [RFC PATCH mm-hotfixes-unstable v2] mm/damon/core: do not update stat for core filter rejecting region SJ Park
2026-11-28 18:56 ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-238973@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=damon@lists.linux.dev \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=sj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox