[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260116112217.915803-1-pratyush@kernel.org>
Date: Fri, 16 Jan 2026 11:22:13 +0000
From: Pratyush Yadav <pratyush@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>,
Alexander Graf <graf@...zon.com>,
Mike Rapoport <rppt@...nel.org>,
Pasha Tatashin <pasha.tatashin@...een.com>,
Pratyush Yadav <pratyush@...nel.org>
Cc: kexec@...ts.infradead.org,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Suren Baghdasaryan <surenb@...gle.com>
Subject: [PATCH v2 0/2] kho: clean up page initialization logic
From: "Pratyush Yadav (Google)" <pratyush@...nel.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
Powered by blists - more mailing lists