All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20181017235425.17213.28360.stgit@localhost.localdomain>

diff --git a/a/1.txt b/N1/1.txt
index 3ff2869..c33db65 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -143,7 +143,7 @@ index 20e9eb35d75d..a0b81e0bef03 100644
  	if (highest_memmap_pfn < end_pfn - 1)
  		highest_memmap_pfn = end_pfn - 1;
  
-+	if (context = MEMMAP_HOTPLUG) {
++	if (context == MEMMAP_HOTPLUG) {
  #ifdef CONFIG_ZONE_DEVICE
 -	/*
 -	 * Honor reservation requested by the driver for this ZONE_DEVICE
@@ -152,7 +152,7 @@ index 20e9eb35d75d..a0b81e0bef03 100644
 -	 * ZONE_DEVICE page initialization until after we have released
 -	 * the hotplug lock.
 -	 */
--	if (zone = ZONE_DEVICE) {
+-	if (zone == ZONE_DEVICE) {
 -		if (!altmap)
 -			return;
 +		/*
@@ -162,11 +162,11 @@ index 20e9eb35d75d..a0b81e0bef03 100644
 +		 * mapping. We will defer the ZONE_DEVICE page initialization
 +		 * until after we have released the hotplug lock.
 +		 */
-+		if (zone = ZONE_DEVICE) {
++		if (zone == ZONE_DEVICE) {
 +			if (!altmap)
 +				return;
 +
-+			if (start_pfn = altmap->base_pfn)
++			if (start_pfn == altmap->base_pfn)
 +				start_pfn += altmap->reserve;
 +			end_pfn = altmap->base_pfn +
 +				  vmem_altmap_offset(altmap);
@@ -181,7 +181,7 @@ index 20e9eb35d75d..a0b81e0bef03 100644
 +		__memmap_init_hotplug(end_pfn - start_pfn, nid, zone,
 +				      start_pfn, NULL);
  
--		if (start_pfn = altmap->base_pfn)
+-		if (start_pfn == altmap->base_pfn)
 -			start_pfn += altmap->reserve;
 -		end_pfn = altmap->base_pfn + vmem_altmap_offset(altmap);
 +		return;
@@ -195,7 +195,7 @@ index 20e9eb35d75d..a0b81e0bef03 100644
  		 * There can be holes in boot-time mem_map[]s handed to this
  		 * function.  They do not exist on hotplugged memory.
  		 */
--		if (context = MEMMAP_EARLY) {
+-		if (context == MEMMAP_EARLY) {
 -			if (!early_pfn_valid(pfn)) {
 -				pfn = next_valid_pfn(pfn) - 1;
 -				continue;
@@ -219,7 +219,7 @@ index 20e9eb35d75d..a0b81e0bef03 100644
  
  		page = pfn_to_page(pfn);
  		__init_single_page(page, pfn, zone, nid);
--		if (context = MEMMAP_HOTPLUG)
+-		if (context == MEMMAP_HOTPLUG)
 -			__SetPageReserved(page);
  
  		/*
diff --git a/a/content_digest b/N1/content_digest
index f2f9d92..070bb40 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020181017235043.17213.92459.stgit@localhost.localdomain\0"
  "From\0Alexander Duyck <alexander.h.duyck@linux.intel.com>\0"
  "Subject\0[mm PATCH v4 4/6] mm: Move hot-plug specific memory init into separate functions and optimize\0"
- "Date\0Wed, 17 Oct 2018 23:54:25 +0000\0"
+ "Date\0Wed, 17 Oct 2018 16:54:25 -0700\0"
  "To\0linux-mm@kvack.org"
  " akpm@linux-foundation.org\0"
  "Cc\0pavel.tatashin@microsoft.com"
@@ -168,7 +168,7 @@
  " \tif (highest_memmap_pfn < end_pfn - 1)\n"
  " \t\thighest_memmap_pfn = end_pfn - 1;\n"
  " \n"
- "+\tif (context = MEMMAP_HOTPLUG) {\n"
+ "+\tif (context == MEMMAP_HOTPLUG) {\n"
  " #ifdef CONFIG_ZONE_DEVICE\n"
  "-\t/*\n"
  "-\t * Honor reservation requested by the driver for this ZONE_DEVICE\n"
@@ -177,7 +177,7 @@
  "-\t * ZONE_DEVICE page initialization until after we have released\n"
  "-\t * the hotplug lock.\n"
  "-\t */\n"
- "-\tif (zone = ZONE_DEVICE) {\n"
+ "-\tif (zone == ZONE_DEVICE) {\n"
  "-\t\tif (!altmap)\n"
  "-\t\t\treturn;\n"
  "+\t\t/*\n"
@@ -187,11 +187,11 @@
  "+\t\t * mapping. We will defer the ZONE_DEVICE page initialization\n"
  "+\t\t * until after we have released the hotplug lock.\n"
  "+\t\t */\n"
- "+\t\tif (zone = ZONE_DEVICE) {\n"
+ "+\t\tif (zone == ZONE_DEVICE) {\n"
  "+\t\t\tif (!altmap)\n"
  "+\t\t\t\treturn;\n"
  "+\n"
- "+\t\t\tif (start_pfn = altmap->base_pfn)\n"
+ "+\t\t\tif (start_pfn == altmap->base_pfn)\n"
  "+\t\t\t\tstart_pfn += altmap->reserve;\n"
  "+\t\t\tend_pfn = altmap->base_pfn +\n"
  "+\t\t\t\t  vmem_altmap_offset(altmap);\n"
@@ -206,7 +206,7 @@
  "+\t\t__memmap_init_hotplug(end_pfn - start_pfn, nid, zone,\n"
  "+\t\t\t\t      start_pfn, NULL);\n"
  " \n"
- "-\t\tif (start_pfn = altmap->base_pfn)\n"
+ "-\t\tif (start_pfn == altmap->base_pfn)\n"
  "-\t\t\tstart_pfn += altmap->reserve;\n"
  "-\t\tend_pfn = altmap->base_pfn + vmem_altmap_offset(altmap);\n"
  "+\t\treturn;\n"
@@ -220,7 +220,7 @@
  " \t\t * There can be holes in boot-time mem_map[]s handed to this\n"
  " \t\t * function.  They do not exist on hotplugged memory.\n"
  " \t\t */\n"
- "-\t\tif (context = MEMMAP_EARLY) {\n"
+ "-\t\tif (context == MEMMAP_EARLY) {\n"
  "-\t\t\tif (!early_pfn_valid(pfn)) {\n"
  "-\t\t\t\tpfn = next_valid_pfn(pfn) - 1;\n"
  "-\t\t\t\tcontinue;\n"
@@ -244,7 +244,7 @@
  " \n"
  " \t\tpage = pfn_to_page(pfn);\n"
  " \t\t__init_single_page(page, pfn, zone, nid);\n"
- "-\t\tif (context = MEMMAP_HOTPLUG)\n"
+ "-\t\tif (context == MEMMAP_HOTPLUG)\n"
  "-\t\t\t__SetPageReserved(page);\n"
  " \n"
  " \t\t/*\n"
@@ -314,4 +314,4 @@
  " \tpr_info(\"%s initialised, %lu pages in %ums\\n\", dev_name(pgmap->dev),\n"
  " \t\tsize, jiffies_to_msecs(jiffies - start));"
 
-da87288c686fe100bb2d0aea29d7491431ba67a0de3dca1d828df1ce1a8ebf32
+e6756b1a6d4be3eb684f4c2f932a006c2ba6d48207fe141371d78d88f886f295

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.