On Mon, Jul 13, 2026 at 08:49:34PM +0000, Pranjal Shrivastava wrote:
The current KHO restoration logic assumes all multi-page blocks are
split into independent 4KB pages. Break out a helper to prepare for
supporting high-order non-compound pages.
Extract kho_init_unsplit_pages() to handle the refcount pattern
where only the head page is refcounted. Use the helper for folio
restoration that requires a similar refcount logic.
Signed-off-by: Pranjal Shrivastava <[email protected]>
---
kernel/liveupdate/kexec_handover.c | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
Reviewed-by: Samiullah Khawaja <[email protected]>