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/admin-guide/mm/damon/lru_sort: document active_mem_bp parameter

Document a newly added DAMON_LRU_SORT parameter for doing auto-tuning
aiming an active to inactive memory size ratio.

Link: https://lkml.kernel.org/r/20260113152717.70459-10-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Acked-by: wang lian <lianux.mm@gmail.com>
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
cdfca22d 40d98d31

+12
+12
Documentation/admin-guide/mm/damon/lru_sort.rst
··· 79 79 parameter is set as ``N``. If invalid parameters are found while the 80 80 re-reading, DAMON_LRU_SORT will be disabled. 81 81 82 + active_mem_bp 83 + ------------- 84 + 85 + Desired active to [in]active memory ratio in bp (1/10,000). 86 + 87 + While keeping the caps that set by other quotas, DAMON_LRU_SORT automatically 88 + increases and decreases the effective level of the quota aiming the LRU 89 + [de]prioritizations of the hot and cold memory resulting in this active to 90 + [in]active memory ratio. Value zero means disabling this auto-tuning feature. 91 + 92 + Disabled by default. 93 + 82 94 filter_young_pages 83 95 ------------------ 84 96