public inbox for linux-mm@kvack.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mm/damon: test and document power-of-2 min_region_sz requirement
@ 2026-03-07 19:42 SeongJae Park
  2026-03-07 19:42 ` [PATCH 1/2] mm/damon/tests/core-kunit: add a test for damon_commit_ctx() SeongJae Park
  2026-03-07 19:42 ` [PATCH 2/2] Docs/mm/damon/design: document the power-of-two limitation for addr_unit SeongJae Park
  0 siblings, 2 replies; 3+ messages in thread
From: SeongJae Park @ 2026-03-07 19:42 UTC (permalink / raw)
  To: Andrew Morton
  Cc: SeongJae Park, Liam R. Howlett, Brendan Higgins, David Gow,
	David Hildenbrand, Jonathan Corbet, Lorenzo Stoakes, Michal Hocko,
	Mike Rapoport, Shuah Khan, Suren Baghdasaryan, Vlastimil Babka,
	damon, kunit-dev, linux-doc, linux-kernel, linux-kselftest,
	linux-mm

Since commit c80f46ac228b ("mm/damon/core: disallow non-power of two
min_region_sz"), min_region_sz is always restricted to be a power of
two.  Add a kunit test to confirm the functionality.  Also, the change
adds a restriction to addr_unit parameter.  Clarify it on the document.

SeongJae Park (2):
  mm/damon/tests/core-kunit: add a test for damon_commit_ctx()
  Docs/mm/damon/design: document the power-of-two limitation for
    addr_unit

 Documentation/mm/damon/design.rst |  2 ++
 mm/damon/tests/core-kunit.h       | 22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)


base-commit: 4380f0b6370ead5000b8d155b25a86cb59d68c06
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-07 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-07 19:42 [PATCH 0/2] mm/damon: test and document power-of-2 min_region_sz requirement SeongJae Park
2026-03-07 19:42 ` [PATCH 1/2] mm/damon/tests/core-kunit: add a test for damon_commit_ctx() SeongJae Park
2026-03-07 19:42 ` [PATCH 2/2] Docs/mm/damon/design: document the power-of-two limitation for addr_unit SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox