[folded-merged] mm-initialize-pages-on-demand-during-boot-v6.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm: initialize pages on demand during boot
has been removed from the -mm tree.  Its filename was
     mm-initialize-pages-on-demand-during-boot-v6.patch

This patch was dropped because it was folded into mm-initialize-pages-on-demand-during-boot.patch

------------------------------------------------------
From: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
Subject: mm: initialize pages on demand during boot

Remove useless pgdata_resize_lock_irq(), as regular pgdata_resize_lock()
does exactly what is needed.

Link: http://lkml.kernel.org/r/20180313182355.17669-3-pasha.tatashin@xxxxxxxxxx
Signed-off-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN mm/page_alloc.c~mm-initialize-pages-on-demand-during-boot-v6 mm/page_alloc.c
--- a/mm/page_alloc.c~mm-initialize-pages-on-demand-during-boot-v6
+++ a/mm/page_alloc.c
@@ -1613,16 +1613,16 @@ deferred_grow_zone(struct zone *zone, un
 	if (zone_end_pfn(zone) != pgdat_end_pfn(pgdat))
 		return false;
 
-	pgdat_resize_lock_irq(pgdat, &flags);
+	pgdat_resize_lock(pgdat, &flags);
 
 	/*
 	 * If deferred pages have been initialized while we were waiting for
-	 * the lock, return true, as the zone was grown.  The caller will retry
+ 	 * the lock, return true, as the zone was grown.  The caller will retry
 	 * this zone.  We won't return to this function since the caller also
 	 * has this static branch.
 	 */
 	if (!static_branch_unlikely(&deferred_pages)) {
-		pgdat_resize_unlock_irq(pgdat, &flags);
+		pgdat_resize_unlock(pgdat, &flags);
 		return true;
 	}
 
@@ -1631,14 +1631,14 @@ deferred_grow_zone(struct zone *zone, un
 	 * true, as there might be enough pages already.
 	 */
 	if (first_deferred_pfn != pgdat->first_deferred_pfn) {
-		pgdat_resize_unlock_irq(pgdat, &flags);
+		pgdat_resize_unlock(pgdat, &flags);
 		return true;
 	}
 
 	first_init_pfn = max(zone->zone_start_pfn, first_deferred_pfn);
 
 	if (first_init_pfn >= pgdat_end_pfn(pgdat)) {
-		pgdat_resize_unlock_irq(pgdat, &flags);
+		pgdat_resize_unlock(pgdat, &flags);
 		return false;
 	}
 
@@ -1667,7 +1667,7 @@ deferred_grow_zone(struct zone *zone, un
 			break;
 	}
 	pgdat->first_deferred_pfn = first_deferred_pfn;
-	pgdat_resize_unlock_irq(pgdat, &flags);
+	pgdat_resize_unlock(pgdat, &flags);
 
 	return nr_pages > 0;
 }
_

Patches currently in -mm which might be from pasha.tatashin@xxxxxxxxxx are

mm-disable-interrupts-while-initializing-deferred-pages.patch
mm-initialize-pages-on-demand-during-boot.patch
mm-memory_hotplug-enforce-block-size-aligned-range-check.patch
x86-mm-memory_hotplug-determine-block-size-based-on-the-end-of-boot-memory.patch
x86-mm-memory_hotplug-determine-block-size-based-on-the-end-of-boot-memory-v4.patch
mm-uninitialized-struct-page-poisoning-sanity-checking.patch
mm-uninitialized-struct-page-poisoning-sanity-checking-v4.patch
mm-memory_hotplug-optimize-probe-routine.patch
mm-memory_hotplug-dont-read-nid-from-struct-page-during-hotplug.patch
mm-memory_hotplug-dont-read-nid-from-struct-page-during-hotplug-v5.patch
mm-memory_hotplug-optimize-memory-hotplug.patch
mm-memory_hotplug-optimize-memory-hotplug-v5.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux