Re: [PATCH] kho: fix restore order for NUMA-split preservations
From: Mike Rapoport
Date: Sat Nov 07 2026 - 06:52:18 EST
From: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
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.