mirror-linux/Documentation/admin-guide/mm
Jason Miu 6b0dd42d76 kho: remove finalize state and clients
Eliminate the `kho_finalize()` function and its associated state from the
KHO subsystem.  The transition to a radix tree for memory tracking makes
the explicit "finalize" state and its serialization step obsolete.

Remove the `kho_finalize()` and `kho_finalized()` APIs and their stub
implementations.  Update KHO client code and the debugfs interface to no
longer call or depend on the `kho_finalize()` mechanism.

Complete the move towards a stateless KHO, simplifying the overall design
by removing unnecessary state management.

Link: https://lkml.kernel.org/r/20260206021428.3386442-3-jasonmiu@google.com
Signed-off-by: Jason Miu <jasonmiu@google.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Changyuan Lyu <changyuanl@google.com>
Cc: David Matlack <dmatlack@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Pratyush Yadav <pratyush@kernel.org>
Cc: Ran Xiaokai <ran.xiaokai@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-04-05 13:53:04 -07:00
..
damon Docs/admin-guide/mm/damon/usage: update stats update process for refresh_ms 2026-01-31 14:22:48 -08: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: remove finalize state and clients 2026-04-05 13:53:04 -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 mm/mempolicy: introduce MPOL_WEIGHTED_INTERLEAVE for weighted interleaving 2024-02-22 10:24:46 -08: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