linux/Documentation/admin-guide/mm
SeongJae Park 0c13ed77dd Docs/admin-guide/mm/damon/lru_sort: warn commit_inputs vs param updates race
DAMON_LRU_SORT handles commit_inputs request inside kdamond thread,
reading the module parameters.  If the user updates the module
parameters while the kdamond thread is reading those, races can happen.
To avoid this, the commit_inputs parameter shows whether it is still in
the progress, assuming users wouldn't update parameters in the middle of
the work.  Some users might ignore that.  Add a warning about the
behavior.

The issue was discovered in [1] by sashiko.

Link: https://lore.kernel.org/20260329153052.46657-3-sj@kernel.org
Link: https://lore.kernel.org/20260319161620.189392-2-objecting@objecting.org [1]
Fixes: 6acfcd0d75 ("Docs/admin-guide/damon: add a document for DAMON_LRU_SORT")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org> # 6.0.x
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-04-18 00:10:51 -07:00
..
damon Docs/admin-guide/mm/damon/lru_sort: warn commit_inputs vs param updates race 2026-04-18 00:10:51 -07:00
cma_debugfs.rst mm, cma: support multiple contiguous ranges, if requested 2025-03-16 22:06:25 -07:00
concepts.rst docs/admin-guide/mm: remove useless markup 2023-02-02 10:18:05 -07:00
hugetlbpage.rst mm: hugetlb: add hugetlb_alloc_threads cmdline option 2025-03-17 00:05:36 -07:00
idle_page_tracking.rst - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
index.rst mm/swap: do not choose swap device according to numa node 2025-11-16 17:28:27 -08:00
kho.rst kho: document kexec-metadata tracking feature 2026-04-18 00:10:49 -07:00
ksm.rst Docs: typos/spelling 2024-05-02 10:02:29 -06:00
memory-hotplug.rst mm: rename CONFIG_BALLOON_COMPACTION to CONFIG_BALLOON_MIGRATION 2026-01-31 14:22:36 -08:00
multigen_lru.rst mm: add max swappiness arg to lru_gen for anonymous memory only 2025-05-12 23:50:36 -07:00
nommu-mmap.rst docs: fix 're-use' -> 'reuse' in documentation 2026-02-02 09:54:15 -07:00
numa_memory_policy.rst docs: mm: fix typo in numa_memory_policy.rst 2026-04-05 13:53:23 -07:00
numaperf.rst - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
pagemap.rst pagemap: update BUDDY flag documentation 2025-11-24 15:08:56 -08:00
shrinker_debugfs.rst docs/admin-guide/mm: remove useless markup 2023-02-02 10:18:05 -07:00
slab.rst doc: Move SLUB documentation to the admin guide 2025-06-18 13:06:26 +02:00
soft-dirty.rst docs/admin-guide/mm: remove useless markup 2023-02-02 10:18:05 -07:00
transhuge.rst mm: shmem/tmpfs hugepage defaults config choice 2025-11-16 17:28:23 -08:00
userfaultfd.rst userfaultfd: UFFDIO_MOVE uABI 2023-12-29 11:58:24 -08:00
zswap.rst Docs/admin-guide/mm/zswap: s/red-black tree/xarray/ 2025-11-16 17:27:57 -08:00