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 filter_young_pages

Document the new DAMON_LRU_SORT parameter, filter_young_pages. It can be
used to use page level access re-check for the LRU sorting.

Link: https://lkml.kernel.org/r/20260113152717.70459-8-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
b36aefb8 303dbb1f

+14
+14
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 + filter_young_pages 83 + ------------------ 84 + 85 + Filter [non-]young pages accordingly for LRU [de]prioritizations. 86 + 87 + If this is set, check page level access (youngness) once again before each 88 + LRU [de]prioritization operation. LRU prioritization operation is skipped 89 + if the page has not accessed since the last check (not young). LRU 90 + deprioritization operation is skipped if the page has accessed since the 91 + last check (young). The feature is enabled or disabled if this parameter is 92 + set as ``Y`` or ``N``, respectively. 93 + 94 + Disabled by default. 95 + 82 96 hot_thres_access_freq 83 97 --------------------- 84 98