Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Docs/mm/damon/design: document DAMON sample modules

People sometimes get confused about the purposes of DAMON special-purpose
modules and sample modules. Clarify those on the design document by
adding a section describing their existence and purposes.

Link: https://lkml.kernel.org/r/20260118180305.70023-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: David Hildenbrand <david@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

SeongJae Park and committed by
Andrew Morton
63464f5b feb62412

+13
+13
Documentation/mm/damon/design.rst
··· 836 836 more detail, please read the usage documents for those 837 837 (:doc:`/admin-guide/mm/damon/reclaim` and 838 838 :doc:`/admin-guide/mm/damon/lru_sort`). 839 + 840 + 841 + Sample DAMON Modules 842 + -------------------- 843 + 844 + DAMON modules that provides example DAMON kernel API usages. 845 + 846 + kernel programmers can build their own special or general purpose DAMON modules 847 + using DAMON kernel API. To help them easily understand how DAMON kernel API 848 + can be used, a few sample modules are provided under ``samples/damon/`` of the 849 + linux source tree. Please note that these modules are not developed for being 850 + used on real products, but only for showing how DAMON kernel API can be used in 851 + simple ways.