From: SJ Park <sj@kernel.org>
To: Liew Rui Yan <aethernet65535@gmail.com>
Cc: SJ Park <sj@kernel.org>,
akpm@linux-foundation.org, damon@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
stable@vger.kernel.org
Subject: Re: [PATCH v2.1] mm/damon/core: fix false positive in damos_quota_is_full() when esz is zero
Date: Wed, 2 Sep 2026 07:48:03 -0700 [thread overview]
Message-ID: <20260902144804.88298-1-sj@kernel.org> (raw)
In-Reply-To: <20260902142254.5328-1-aethernet65535@gmail.com>
On Wed, 2 Sep 2026 22:22:31 +0800 Liew Rui Yan <aethernet65535@gmail.com> wrote:
> On Wed, 02 Sep 2026 07:10:00 -0700 SJ Park <sj@kernel.org> wrote:
>
> > On Wed, 2 Sep 2026 16:44:45 +0800 Liew Rui Yan <aethernet65535@gmail.com> wrote:
> >
> > > When setting goal_tuner to 'temporal', if the goal is achieved,
> > > quota->esz_bp will be set to zero. In this case, damos_quota_is_full()
> > > will always return true, even if no regions have been tried to apply at
> > > all. This causes qt_exceeds to increase unexpectedly.
> >
> > To me, this looks logically correct. Could this cause any user issue?
>
> Yes, I think this might cause unnecessary confusion for users,
If it is _might_ kind thing, please ask questions first, or add RFC tag at
least.
> at least
> it did for me.
If it confused you, definitely we need to fix it. But if it is just confusing,
let's try to clarify by adding documentation, rather than changing existing
behaviors.
I feel like we also found similar case that people send patches to change some
behaviors that confusing them, but not really problematic. That sometimes
waste unnecessary time for understanding the intention of the patch. Please
feel free to ask question first, if you found some confusing behaviors and
don't know why it behaves in the way or if it is a real problem.
Thanks,
SJ
[...]
next prev parent reply other threads:[~2026-09-02 14:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 8:44 [PATCH v2.1] mm/damon/core: fix false positive in damos_quota_is_full() when esz is zero Liew Rui Yan
2026-09-02 8:53 ` sashiko-bot
2026-09-02 9:42 ` Liew Rui Yan
2026-09-02 14:10 ` SJ Park
2026-09-02 14:22 ` Liew Rui Yan
2026-09-02 14:48 ` SJ Park [this message]
2026-09-02 22:31 ` Liew Rui Yan
2026-09-03 0:33 ` SJ Park
2026-09-03 12:41 ` Liew Rui Yan
2026-09-03 14:05 ` SJ Park
2026-09-04 8:07 ` Liew Rui Yan
2026-09-04 14:05 ` SJ Park
2026-09-04 15:35 ` Liew Rui Yan
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=20260902144804.88298-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=aethernet65535@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=stable@vger.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