linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] kho: clean up page initialization logic
@ 2026-01-16 11:22 Pratyush Yadav
  2026-01-16 11:22 ` [PATCH v2 1/2] kho: use unsigned long for nr_pages Pratyush Yadav
  2026-01-16 11:22 ` [PATCH v2 2/2] kho: simplify page initialization in kho_restore_page() Pratyush Yadav
  0 siblings, 2 replies; 9+ messages in thread
From: Pratyush Yadav @ 2026-01-16 11:22 UTC (permalink / raw)
  To: Andrew Morton, Alexander Graf, Mike Rapoport, Pasha Tatashin,
	Pratyush Yadav
  Cc: kexec, linux-mm, linux-kernel, Suren Baghdasaryan

From: "Pratyush Yadav (Google)" <pratyush@kernel.org>

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/20251223104448.195589-1-pratyush@kernel.org/

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
-- 
2.52.0.457.g6b5491de43-goog



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-01-22 19:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-16 11:22 [PATCH v2 0/2] kho: clean up page initialization logic Pratyush Yadav
2026-01-16 11:22 ` [PATCH v2 1/2] kho: use unsigned long for nr_pages Pratyush Yadav
2026-01-16 22:26   ` Andrew Morton
2026-01-20 13:06     ` Mike Rapoport
2026-01-20 13:03   ` Mike Rapoport
2026-01-22 19:08   ` Pasha Tatashin
2026-01-16 11:22 ` [PATCH v2 2/2] kho: simplify page initialization in kho_restore_page() Pratyush Yadav
2026-01-20 13:05   ` Mike Rapoport
2026-01-22 19:11   ` Pasha Tatashin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox