mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix.patch removed from -mm tree
@ 2021-03-13  4:23 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-03-13  4:23 UTC (permalink / raw)
  To: akpm, mm-commits, rppt


The patch titled
     Subject: mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix
has been removed from the -mm tree.  Its filename was
     mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix.patch

This patch was dropped because it was folded into mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix

don't initialize static to zero, use %llu for u64

Cc: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/page_alloc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/page_alloc.c~mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix
+++ a/mm/page_alloc.c
@@ -6315,7 +6315,7 @@ void __meminit __weak memmap_init_zone(s
 	unsigned long zone_start_pfn = zone->zone_start_pfn;
 	unsigned long zone_end_pfn = zone_start_pfn + zone->spanned_pages;
 	int i, nid = zone_to_nid(zone), zone_id = zone_idx(zone);
-	static unsigned long hole_pfn = 0;
+	static unsigned long hole_pfn;
 	unsigned long start_pfn, end_pfn;
 	u64 pgcnt = 0;
 
@@ -6348,7 +6348,7 @@ void __meminit __weak memmap_init_zone(s
 #endif
 
 	if (pgcnt)
-		pr_info("  %s zone: %lld pages in unavailable ranges\n",
+		pr_info("  %s zone: %llu pages in unavailable ranges\n",
 			zone->name, pgcnt);
 }
 
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout.patch
mm.patch
mm-memcontrol-switch-to-rstat-fix.patch
kasan-remove-redundant-config-option-fix.patch
mmmemory_hotplug-allocate-memmap-from-the-added-memory-range-fix.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-13  4:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13  4:23 [folded-merged] mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).