Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
To: SJ Park <sj@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Brendan Higgins <brendan.higgins@linux.dev>,
	David Gow <davidgow@davidgow.net>,
	damon@lists.linux.dev, kunit-dev@googlegroups.com,
	linux-kselftest@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH v2 0/3] mm/damon: treat DAMOS core filters as a primary target selection method
Date: Thu,  3 Dec 2026 07:42:55 -0800	[thread overview]
Message-ID: <20261203154256.733792-1-sj@kernel.org> (raw)
In-Reply-To: <20261203150821.730276-1-sj@kernel.org>

On Thu,  3 Dec 2026 07:08:16 -0800 SJ Park <sj@kernel.org> wrote:

> DAMOS access pattern and core filters are treated as a primary and a
> secondary target region selection method, respectively.  DAMOS target
> regions are initially selected with the access pattern.  Later core
> filters are applied additionally when needed, in the middle of lower
> level operations.  DAMOS quota goal type eligible_mem_bp is ignoring the
> core filters.
> 
> Core filters are effectively applied on all places that
> damos_access_pattern is applied, except the eligible_mem_bp DAMOS quota
> goal type handling.
> 
> Promote DAMOS core filters to a primary target selection method.  Use it
> in the central high level place that the damos_access_pattern is
> handled. Split out damos_access_pattern to a function and call it
> directly from the eligible_mem_bp handling, to keep the old behavior.
> 
> Remove unit tests that were too duplicated and will fail after the
> change, via patch 1.  Make the promotion via patch 2.  Clarify the
> changed eligible_mem_bp behavior on the kernel-doc comment, via patch 3.

Sashiko found [1] a few things that are better to be fixed.  I will post a new
version with the fixes.

[1] https://lore.kernel.org/20261203154045.733625-1-sj@kernel.org


Thanks,
SJ

[...]

      parent reply	other threads:[~2026-12-03 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 15:08 [PATCH v2 0/3] mm/damon: treat DAMOS core filters as a primary target selection method SJ Park
2026-12-03 15:08 ` [PATCH v2 1/3] mm/damon/tests/core-kunit: drop apply_scheme()-internal filter tests SJ Park
2026-12-03 15:42 ` SJ Park [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=20261203154256.733792-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=brendan.higgins@linux.dev \
    --cc=damon@lists.linux.dev \
    --cc=davidgow@davidgow.net \
    --cc=kunit-dev@googlegroups.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.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