]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kho: replace kho_preserve_phys() with kho_preserve_pages()
authorMike Rapoport (Microsoft) <rppt@kernel.org>
Sun, 21 Sep 2025 05:44:56 +0000 (08:44 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 7 Oct 2025 20:48:55 +0000 (13:48 -0700)
commit8375b76517cb52bac0903071feedc218c45d74d2
tree71b54aad3660d2f878318af69ce77455625995f8
parent469661d0d3a55a7ba1e7cb847c26baf78cace086
kho: replace kho_preserve_phys() with kho_preserve_pages()

to make it clear that KHO operates on pages rather than on a random
physical address.

The kho_preserve_pages() will be also used in upcoming support for vmalloc
preservation.

Link: https://lkml.kernel.org/r/20250921054458.4043761-3-rppt@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Cc: Alexander Graf <graf@amazon.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Changyuan Lyu <changyuanl@google.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/kexec_handover.h
kernel/kexec_handover.c
mm/memblock.c