All of lore.kernel.org
 help / color / mirror / Atom feed
From: SeongJae Park <sj@kernel.org>
Cc: SeongJae Park <sj@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Bijan Tabatabai <bijan311@gmail.com>,
	Shuah Khan <shuah@kernel.org>,
	damon@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org, linux-mm@kvack.org
Subject: [RFC PATCH 0/4] selftests/damon: add a test for obsolete_target sysfs file
Date: Sat, 18 Oct 2025 13:44:41 -0700	[thread overview]
Message-ID: <20251018204448.8906-1-sj@kernel.org> (raw)

An RFC patch series [1] that add a new DAMON sysfs file for arbitrary
targets removal is under review.  Add a selftest for the feature.  The
new test uses the feature using the python wrapper of DAMON sysfs
interface, and confirm the expected internal data structure change is
made using drgn.

So this patch series may better to be a part of the other one [1] that
introduces the obsolete_target file.  But, because no significant change
is requested on the series so far, I'm posting this as an individual
RFC.

In the next version, I may merge the two series into one, to add all
related changes at one step.

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

SeongJae Park (4):
  selftests/damon/_damon_sysfs: support obsolete_target file
  drgn_dump_damon_status: dump damon_target->obsolete
  sysfs.py: extend assert_ctx_committed() for monitoring targets
  selftests/damon/sysfs: add obsolete_target test

 tools/testing/selftests/damon/_damon_sysfs.py | 11 ++++-
 .../selftests/damon/drgn_dump_damon_status.py |  1 +
 tools/testing/selftests/damon/sysfs.py        | 48 +++++++++++++++++++
 3 files changed, 58 insertions(+), 2 deletions(-)


base-commit: 1aba8bd57e6aaa1c9e699c8de66bcc931d4b1116
-- 
2.47.3

             reply	other threads:[~2025-10-18 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-18 20:44 SeongJae Park [this message]
2025-10-18 20:44 ` [RFC PATCH 1/4] selftests/damon/_damon_sysfs: support obsolete_target file SeongJae Park
2025-10-18 20:44 ` [RFC PATCH 2/4] drgn_dump_damon_status: dump damon_target->obsolete SeongJae Park
2025-10-18 20:44 ` [RFC PATCH 3/4] sysfs.py: extend assert_ctx_committed() for monitoring targets SeongJae Park
2025-10-18 20:44 ` [RFC PATCH 4/4] selftests/damon/sysfs: add obsolete_target test SeongJae Park

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=20251018204448.8906-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=bijan311@gmail.com \
    --cc=damon@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=shuah@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.