diff for duplicates of <508EA207.2060205@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 65507a5..f3f98bc 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -97,7 +97,7 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > + int nid = zone_to_nid(zone); > + > + zone_span_writelock(zone); -> + if (zone_start_pfn == start_pfn) { +> + if (zone_start_pfn = start_pfn) { > + /* > + * If the section is smallest section in the zone, it need > + * shrink zone->zone_start_pfn and zone->zone_spanned_pages. @@ -110,7 +110,7 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > + zone->zone_start_pfn = pfn; > + zone->spanned_pages = zone_end_pfn - pfn; > + } -> + } else if (zone_end_pfn == end_pfn) { +> + } else if (zone_end_pfn = end_pfn) { > + /* > + * If the section is biggest section in the zone, it need > + * shrink zone->spanned_pages. @@ -140,7 +140,7 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > + continue; > + > + /* If the section is current section, it continues the loop */ -> + if (start_pfn == pfn) +> + if (start_pfn = pfn) > + continue; > + > + /* If we find valid section, we have nothing to do */ @@ -158,13 +158,12 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > + unsigned long start_pfn, unsigned long end_pfn) > +{ > + unsigned long pgdat_start_pfn = pgdat->node_start_pfn; -> + unsigned long pgdat_end_pfn = -> + pgdat->node_start_pfn + pgdat->node_spanned_pages; +> + unsigned long pgdat_end_pfn > + pgdat->node_start_pfn + pgdat->node_spanned_pages; > + unsigned long pfn; > + struct mem_section *ms; > + int nid = pgdat->node_id; > + -> + if (pgdat_start_pfn == start_pfn) { +> + if (pgdat_start_pfn = start_pfn) { > + /* > + * If the section is smallest section in the pgdat, it need > + * shrink pgdat->node_start_pfn and pgdat->node_spanned_pages. @@ -177,7 +176,7 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > + pgdat->node_start_pfn = pfn; > + pgdat->node_spanned_pages = pgdat_end_pfn - pfn; > + } -> + } else if (pgdat_end_pfn == end_pfn) { +> + } else if (pgdat_end_pfn = end_pfn) { > + /* > + * If the section is biggest section in the pgdat, it need > + * shrink pgdat->node_spanned_pages. @@ -208,7 +207,7 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > + continue; > + > + /* If the section is current section, it continues the loop */ -> + if (start_pfn == pfn) +> + if (start_pfn = pfn) > + continue; > + > + /* If we find valid section, we have nothing to do */ @@ -255,10 +254,4 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > pgdat_resize_lock(pgdat, &flags); > sparse_remove_one_section(zone, ms); > pgdat_resize_unlock(pgdat, &flags); -> - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> +> diff --git a/a/content_digest b/N1/content_digest index 8132fd7..d9e5254 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01350988250-31294-11-git-send-email-wency@cn.fujitsu.com\0" "From\0Jianguo Wu <wujianguo106@gmail.com>\0" "Subject\0Re: [PATCH v2 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory\0" - "Date\0Mon, 29 Oct 2012 23:34:31 +0800\0" + "Date\0Mon, 29 Oct 2012 15:34:31 +0000\0" "To\0wency@cn.fujitsu.com\0" "Cc\0x86@kernel.org" linux-mm@kvack.org @@ -125,7 +125,7 @@ "> +\tint nid = zone_to_nid(zone);\n" "> +\n" "> +\tzone_span_writelock(zone);\n" - "> +\tif (zone_start_pfn == start_pfn) {\n" + "> +\tif (zone_start_pfn = start_pfn) {\n" "> +\t\t/*\n" "> +\t\t * If the section is smallest section in the zone, it need\n" "> +\t\t * shrink zone->zone_start_pfn and zone->zone_spanned_pages.\n" @@ -138,7 +138,7 @@ "> +\t\t\tzone->zone_start_pfn = pfn;\n" "> +\t\t\tzone->spanned_pages = zone_end_pfn - pfn;\n" "> +\t\t}\n" - "> +\t} else if (zone_end_pfn == end_pfn) {\n" + "> +\t} else if (zone_end_pfn = end_pfn) {\n" "> +\t\t/*\n" "> +\t\t * If the section is biggest section in the zone, it need\n" "> +\t\t * shrink zone->spanned_pages.\n" @@ -168,7 +168,7 @@ "> +\t\t\tcontinue;\n" "> +\n" "> +\t\t /* If the section is current section, it continues the loop */\n" - "> +\t\tif (start_pfn == pfn)\n" + "> +\t\tif (start_pfn = pfn)\n" "> +\t\t\tcontinue;\n" "> +\n" "> +\t\t/* If we find valid section, we have nothing to do */\n" @@ -186,13 +186,12 @@ "> +\t\t\t unsigned long start_pfn, unsigned long end_pfn)\n" "> +{\n" "> +\tunsigned long pgdat_start_pfn = pgdat->node_start_pfn;\n" - "> +\tunsigned long pgdat_end_pfn =\n" - "> +\t\tpgdat->node_start_pfn + pgdat->node_spanned_pages;\n" + "> +\tunsigned long pgdat_end_pfn > +\t\tpgdat->node_start_pfn + pgdat->node_spanned_pages;\n" "> +\tunsigned long pfn;\n" "> +\tstruct mem_section *ms;\n" "> +\tint nid = pgdat->node_id;\n" "> +\n" - "> +\tif (pgdat_start_pfn == start_pfn) {\n" + "> +\tif (pgdat_start_pfn = start_pfn) {\n" "> +\t\t/*\n" "> +\t\t * If the section is smallest section in the pgdat, it need\n" "> +\t\t * shrink pgdat->node_start_pfn and pgdat->node_spanned_pages.\n" @@ -205,7 +204,7 @@ "> +\t\t\tpgdat->node_start_pfn = pfn;\n" "> +\t\t\tpgdat->node_spanned_pages = pgdat_end_pfn - pfn;\n" "> +\t\t}\n" - "> +\t} else if (pgdat_end_pfn == end_pfn) {\n" + "> +\t} else if (pgdat_end_pfn = end_pfn) {\n" "> +\t\t/*\n" "> +\t\t * If the section is biggest section in the pgdat, it need\n" "> +\t\t * shrink pgdat->node_spanned_pages.\n" @@ -236,7 +235,7 @@ "> +\t\t\tcontinue;\n" "> +\n" "> +\t\t /* If the section is current section, it continues the loop */\n" - "> +\t\tif (start_pfn == pfn)\n" + "> +\t\tif (start_pfn = pfn)\n" "> +\t\t\tcontinue;\n" "> +\n" "> +\t\t/* If we find valid section, we have nothing to do */\n" @@ -283,12 +282,6 @@ "> \tpgdat_resize_lock(pgdat, &flags);\n" "> \tsparse_remove_one_section(zone, ms);\n" "> \tpgdat_resize_unlock(pgdat, &flags);\n" - "> \n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + > -2704c6bac335c216365a568040684930f363d8935d96b4f5a65e132a973552ce +a1c414cbc815fe083a81df4a99fbca5f597a138fe734e9bff16e63f129599063
diff --git a/a/1.txt b/N2/1.txt index 65507a5..3cb2b75 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -255,10 +255,4 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > pgdat_resize_lock(pgdat, &flags); > sparse_remove_one_section(zone, ms); > pgdat_resize_unlock(pgdat, &flags); -> - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> +> diff --git a/a/content_digest b/N2/content_digest index 8132fd7..d708945 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,26 +4,25 @@ "Subject\0Re: [PATCH v2 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory\0" "Date\0Mon, 29 Oct 2012 23:34:31 +0800\0" "To\0wency@cn.fujitsu.com\0" - "Cc\0x86@kernel.org" - linux-mm@kvack.org - linux-kernel@vger.kernel.org - linuxppc-dev@lists.ozlabs.org + "Cc\0linux-s390@vger.kernel.org" + linux-ia64@vger.kernel.org + len.brown@intel.com linux-acpi@vger.kernel.org - linux-s390@vger.kernel.org linux-sh@vger.kernel.org - linux-ia64@vger.kernel.org + x86@kernel.org + linux-kernel@vger.kernel.org cmetcalf@tilera.com - sparclinux@vger.kernel.org - rientjes@google.com - liuj97@gmail.com - len.brown@intel.com - benh@kernel.crashing.org + linux-mm@kvack.org + isimatu.yasuaki@jp.fujitsu.com paulus@samba.org - cl@linux.com minchan.kim@gmail.com - akpm@linux-foundation.org kosaki.motohiro@jp.fujitsu.com - " isimatu.yasuaki@jp.fujitsu.com\0" + rientjes@google.com + sparclinux@vger.kernel.org + cl@linux.com + linuxppc-dev@lists.ozlabs.org + akpm@linux-foundation.org + " liuj97@gmail.com\0" "\00:1\0" "b\0" "On 2012/10/23 18:30, wency@cn.fujitsu.com wrote:\n" @@ -283,12 +282,6 @@ "> \tpgdat_resize_lock(pgdat, &flags);\n" "> \tsparse_remove_one_section(zone, ms);\n" "> \tpgdat_resize_unlock(pgdat, &flags);\n" - "> \n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + > -2704c6bac335c216365a568040684930f363d8935d96b4f5a65e132a973552ce +f5616066f98174fa5591a067783c48bc8ce81444558383e5f482d866718b36f0
diff --git a/a/1.txt b/N3/1.txt index 65507a5..3cb2b75 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -255,10 +255,4 @@ if (unlikely(pfn_to_nid(pfn) != nid)) > pgdat_resize_lock(pgdat, &flags); > sparse_remove_one_section(zone, ms); > pgdat_resize_unlock(pgdat, &flags); -> - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> +> diff --git a/a/content_digest b/N3/content_digest index 8132fd7..6966ef5 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -283,12 +283,6 @@ "> \tpgdat_resize_lock(pgdat, &flags);\n" "> \tsparse_remove_one_section(zone, ms);\n" "> \tpgdat_resize_unlock(pgdat, &flags);\n" - "> \n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + > -2704c6bac335c216365a568040684930f363d8935d96b4f5a65e132a973552ce +1450b603c3a64e38be9d0160b7b37bc86bc3396dfc06818f9d7afdc08ed012f7
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.