diff for duplicates of <50BDCBE1.7030001@cn.fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index c9ebc1e..e2aa234 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -94,7 +94,7 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > + 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. @@ -107,7 +107,7 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > + 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. @@ -137,7 +137,7 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > + 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 */ @@ -155,13 +155,12 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > + 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. @@ -174,7 +173,7 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > + 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. @@ -205,7 +204,7 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > + 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 */ @@ -252,9 +251,3 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > 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 6d155d7..ff3e7c9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01354010422-19648-11-git-send-email-wency@cn.fujitsu.com\0" "From\0Tang Chen <tangchen@cn.fujitsu.com>\0" "Subject\0Re: [Patch v4 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory\0" - "Date\0Tue, 04 Dec 2012 18:09:37 +0800\0" + "Date\0Tue, 04 Dec 2012 10:09:37 +0000\0" "To\0Wen Congyang <wency@cn.fujitsu.com>\0" "Cc\0x86@kernel.org" linux-mm@kvack.org @@ -123,7 +123,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" @@ -136,7 +136,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" @@ -166,7 +166,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" @@ -184,13 +184,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" @@ -203,7 +202,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" @@ -234,7 +233,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" @@ -280,12 +279,6 @@ "> +\n" "> \tpgdat_resize_lock(pgdat,&flags);\n" "> \tsparse_remove_one_section(zone, ms);\n" - "> \tpgdat_resize_unlock(pgdat,&flags);\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>" + "> \tpgdat_resize_unlock(pgdat,&flags);" -359fed23bbe7cfe447d4227c8bef2b86e8c4a9b6026a0a11be7b5aafbe5b5a2d +dc2911ae6ba72ff5218dbb805bc5ad0b5154170f869030bd22599708b65ea9ff
diff --git a/a/1.txt b/N2/1.txt index c9ebc1e..b3df1a6 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -252,9 +252,3 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > 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 6d155d7..4d34c65 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,27 +4,26 @@ "Subject\0Re: [Patch v4 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory\0" "Date\0Tue, 04 Dec 2012 18:09:37 +0800\0" "To\0Wen Congyang <wency@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 <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 - David Rientjes <rientjes@google.com> - Jiang Liu <liuj97@gmail.com> - Len Brown <len.brown@intel.com> - benh@kernel.crashing.org + Jianguo Wu <wujianguo@huawei.com> + linux-mm@kvack.org + Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> paulus@samba.org - Christoph Lameter <cl@linux.com> Minchan Kim <minchan.kim@gmail.com> - Andrew Morton <akpm@linux-foundation.org> KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> - Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> - " Jianguo Wu <wujianguo@huawei.com>\0" + David Rientjes <rientjes@google.com> + sparclinux@vger.kernel.org + Christoph Lameter <cl@linux.com> + linuxppc-dev@lists.ozlabs.org + Andrew Morton <akpm@linux-foundation.org> + " Jiang Liu <liuj97@gmail.com>\0" "\00:1\0" "b\0" "On 11/27/2012 06:00 PM, Wen Congyang wrote:\n" @@ -280,12 +279,6 @@ "> +\n" "> \tpgdat_resize_lock(pgdat,&flags);\n" "> \tsparse_remove_one_section(zone, ms);\n" - "> \tpgdat_resize_unlock(pgdat,&flags);\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>" + "> \tpgdat_resize_unlock(pgdat,&flags);" -359fed23bbe7cfe447d4227c8bef2b86e8c4a9b6026a0a11be7b5aafbe5b5a2d +9cec41c6c0c22381aedb8cb4c4d0cd283aae48923bbe23ace3e8b0da33e62de3
diff --git a/a/1.txt b/N3/1.txt index c9ebc1e..b3df1a6 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -252,9 +252,3 @@ Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com> > 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 6d155d7..ad8b8c7 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -280,12 +280,6 @@ "> +\n" "> \tpgdat_resize_lock(pgdat,&flags);\n" "> \tsparse_remove_one_section(zone, ms);\n" - "> \tpgdat_resize_unlock(pgdat,&flags);\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>" + "> \tpgdat_resize_unlock(pgdat,&flags);" -359fed23bbe7cfe447d4227c8bef2b86e8c4a9b6026a0a11be7b5aafbe5b5a2d +8fc65b19a872bd2ecc58116cbc8738cf96913746ba5be678770a4847bb6747cd
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.