From: sashiko-bot@kernel.org
To: "SJ Park" <sj@kernel.org>
Cc: damon@lists.linux.dev
Subject: Re: [PATCH mm-hotfixes-unstable] mm/damon/core: do not update stat for core filter rejecting region
Date: Sun, 29 Nov 2026 19:00:15 +0000 [thread overview]
Message-ID: <sashiko-outbox-239928@kernel.org> (raw)
In-Reply-To: <20261129185631.89391-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/20261129185631.89391-1-sj@kernel.org?part=1
next prev parent reply other threads:[~2026-11-29 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 18:56 [PATCH mm-hotfixes-unstable] mm/damon/core: do not update stat for core filter rejecting region SJ Park
2026-11-29 19:00 ` sashiko-bot [this message]
2026-11-29 20:12 ` + mm-damon-core-do-not-update-stat-for-core-filter-rejecting-region.patch added to mm-hotfixes-unstable branch Andrew Morton
2026-12-02 3:48 ` [merged mm-hotfixes-stable] mm-damon-core-do-not-update-stat-for-core-filter-rejecting-region.patch removed from -mm tree Andrew Morton
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-239928@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.