Message ID | 20250320015551.2157511-3-changyuanl@google.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | kexec: introduce Kexec HandOver (KHO) | expand |
On 20/03/2025 02:55, Changyuan Lyu wrote: > From: "Mike Rapoport (Microsoft)" <rppt@kernel.org> > > When CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled, init_reserved_page() > function performs initialization of a struct page that would have been > deferred normally. > > Rename it to init_deferred_page() to better reflect what the function does. > > Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Incorrect DCO chain. Best regards, Krzysztof
Hi Krzysztof, On Thu, Mar 20, 2025 at 08:10:48 +0100, Krzysztof Kozlowski <krzk@kernel.org> wrote: > On 20/03/2025 02:55, Changyuan Lyu wrote: > > From: "Mike Rapoport (Microsoft)" <rppt@kernel.org> > > > > When CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled, init_reserved_page() > > function performs initialization of a struct page that would have been > > deferred normally. > > > > Rename it to init_deferred_page() to better reflect what the function does. > > > > Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Signed-off-by: Changyuan Lyu <changyuanl@google.com> > > Incorrect DCO chain. > Thanks for the reminder! I missed "Signed-off-by" in a few patches from Mike and Alex where I did not make any changes. I will fix them in the next version. Best, Changyuan
diff --git a/mm/mm_init.c b/mm/mm_init.c index 2630cc30147e..c4b425125bad 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -705,7 +705,7 @@ defer_init(int nid, unsigned long pfn, unsigned long end_pfn) return false; } -static void __meminit init_reserved_page(unsigned long pfn, int nid) +static void __meminit init_deferred_page(unsigned long pfn, int nid) { pg_data_t *pgdat; int zid; @@ -739,7 +739,7 @@ static inline bool defer_init(int nid, unsigned long pfn, unsigned long end_pfn) return false; } -static inline void init_reserved_page(unsigned long pfn, int nid) +static inline void init_deferred_page(unsigned long pfn, int nid) { } #endif /* CONFIG_DEFERRED_STRUCT_PAGE_INIT */ @@ -760,7 +760,7 @@ void __meminit reserve_bootmem_region(phys_addr_t start, if (pfn_valid(start_pfn)) { struct page *page = pfn_to_page(start_pfn); - init_reserved_page(start_pfn, nid); + init_deferred_page(start_pfn, nid); /* * no need for atomic set_bit because the struct