* [folded-merged] kho-initialize-tail-pages-for-higher-order-folios-properly-v2.patch removed from -mm tree
@ 2025-06-20 3:45 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-06-20 3:45 UTC (permalink / raw)
To: mm-commits, rppt, pasha.tatashin, graf, changyuanl, bhe, ptyadav,
akpm
The quilt patch titled
Subject: kho-initialize-tail-pages-for-higher-order-folios-properly-v2
has been removed from the -mm tree. Its filename was
kho-initialize-tail-pages-for-higher-order-folios-properly-v2.patch
This patch was dropped because it was folded into kho-initialize-tail-pages-for-higher-order-folios-properly.patch
------------------------------------------------------
From: Pratyush Yadav <ptyadav@amazon.de>
Subject: kho-initialize-tail-pages-for-higher-order-folios-properly-v2
Date: Fri, 13 Jun 2025 14:59:06 +0200
declare i in the loop instead of at the top
Link: https://lkml.kernel.org/r/20250613125916.39272-1-pratyush@kernel.org
Fixes: fc33e4b44b27 ("kexec: enable KHO support for memory preservation")
Signed-off-by: Pratyush Yadav <ptyadav@amazon.de>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Changyuan Lyu <changyuanl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/kexec_handover.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/kernel/kexec_handover.c~kho-initialize-tail-pages-for-higher-order-folios-properly-v2
+++ a/kernel/kexec_handover.c
@@ -166,13 +166,13 @@ static int __kho_preserve_order(struct k
/* almost as free_reserved_page(), just don't free the page */
static void kho_restore_page(struct page *page, unsigned int order)
{
- unsigned int i, nr_pages = (1 << order);
+ unsigned int nr_pages = (1 << order);
/* Head page gets refcount of 1. */
set_page_count(page, 1);
/* For higher order folios, tail pages get a page count of zero. */
- for (i = 1; i < nr_pages; i++)
+ for (unsigned int i = 1; i < nr_pages; i++)
set_page_count(page + i, 0);
if (order > 0)
_
Patches currently in -mm which might be from ptyadav@amazon.de are
maintainers-add-linux-mm-list-to-kexec-handover.patch
kho-initialize-tail-pages-for-higher-order-folios-properly.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-20 3:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-20 3:45 [folded-merged] kho-initialize-tail-pages-for-higher-order-folios-properly-v2.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.