summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPratyush Yadav (Google) <pratyush@kernel.org>2026-08-01 10:48:22 +0200
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-08-04 09:23:05 +0300
commitec7c0b1a0d77b65f99353b9f870a82a385406dea (patch)
treea1dfd6dc1561d74900fe9b5e8da12e190a4fded0 /scripts/stackusage
parent6442bfb211cbc22cd83cd8c339e6d1835e9605a1 (diff)
downloadlinux-ec7c0b1a0d77b65f99353b9f870a82a385406dea.tar.gz
linux-ec7c0b1a0d77b65f99353b9f870a82a385406dea.zip
kho: expose kho_scratch_overlap() to kexec_handover.h
Support for discovering memory blocks with no preserved memory will be added in coming patches. These areas will also be marked as scratch to allow allocations from them. Memblock will switch to looking through the scratch array to decide the right migratetype. Expose kho_scratch_overlap() to KHO users. Since it is now used by non-debug code, move it out of kexec_handover_debug.c and into kexec_handover.c. Gate the overlap checks in kho_preserve_folio() and kho_preserve_pages() by IS_ENABLED(CONFIG_KEXEC_HANDOVER_DEBUG) instead. Since kexec_handover_debug.c is now empty, delete it. Add a stub for kho_scratch_overlap() to memblock tests to make sure it compiles. It will be used in memblock by a coming commit. No functional changes. Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org> Link: https://patch.msgid.link/20260801084833.1897543-14-pratyush@kernel.org Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions