Skip to content

kho: clean up page initialization logic

Pratyush Yadav kexec linux-mm lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] kho-simplify-page-initialization-in-kho_restore_page.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesApplied 2/2

Changes in v2 from the cover letter

- Use unsigned long for nr_pages.

[0] https://lore.kernel.org/all/[email protected]/

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2kho: use unsigned long for nr_pagesinclude/linux/kexec_handover.h kernel/liveupdate/kexec_handover.c+9 -84 repliesApplied
2/2kho: simplify page initialization in kho_restore_page()kernel/liveupdate/kexec_handover.c+26 -142 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMike Rapoport (Microsoft)Pasha Tatashin
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] kho: clean up page initialization logic

From: "Pratyush Yadav (Google)" <[email protected]>

Hi,

This series simplifies the page initialization logic in kho_restore_page(). It was originally only a single patch [0], but on Pasha's suggestion, I added another patch to use unsigned long for nr_pages.

Technically speaking, the patches aren't related and can be applied independently, but bundling them together since patch 2 relies on 1 and it is easier to manage them this way.

Changes in v2:
- Use unsigned long for nr_pages.

[0] https://lore.kernel.org/all/[email protected]/

Pratyush Yadav (2):
kho: use unsigned long for nr_pages
kho: simplify page initialization in kho_restore_page()

 include/linux/kexec_handover.h     |  6 ++--
 kernel/liveupdate/kexec_handover.c | 47 +++++++++++++++++++-----------
 2 files changed, 33 insertions(+), 20 deletions(-)

base-commit: 0f61b1860cc3f52aef9036d7235ed1f017632193

Signature · 1 line
2.52.0.457.g6b5491de43-goog