[PATCH] kho: fix restore order for NUMA-split preservations

Mike Rapoport rppt at kernel.org
Sat Nov 7 02:58:00 PST 2026


From: Mike Rapoport (Microsoft) <rppt at kernel.org>

On Thu, 05 Nov 2026 18:51:33 +0530, Mukesh Pilaniya wrote:
> kho_preserve_pages() uses __kho_preserve_pages_order() to reduce the
> order of a preservation so that it does not span multiple NUMA nodes.
> kho_restore_pages() does not use that helper; it recomputes the order
> from the pfn alignment and the remaining length only.
> 
> When a preservation was split at a NUMA boundary, restore picks a larger
> order than preserve did and jumps over the next key. Those pages never
> get restored: they stay memblock-reserved and keep the KHOP magic in
> page->private, while kho_restore_pages() returns success for the pages
> that were restored. The consumer has no way to notice that part of its
> buffer was not restored.
> 
> [...]

Applied to next branch of liveupdate/linux.git tree, thanks!

[1/1] kho: fix restore order for NUMA-split preservations
      commit: 825c63a0056cbc94cc57779e83440ffb9c5103f8

tree: https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
branch: next

--
Sincerely yours,
Mike.




More information about the kexec mailing list