diff for duplicates of <20140612071311.GJ12415@bbox> diff --git a/a/1.txt b/N1/1.txt index 9d6748c..853ad24 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -222,7 +222,7 @@ Should we remain log2.h in here? > - (unsigned long)limit, (unsigned long)alignment); > - > - /* Sanity checks */ -> - if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> - if (cma_area_count == ARRAY_SIZE(cma_areas)) { > - pr_err("%s(): Not enough slots for CMA reserved regions!\n", > - __func__); > - return -ENOSPC; @@ -354,7 +354,7 @@ Should we remain log2.h in here? > - mutex_lock(&cma_mutex); > - ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > - mutex_unlock(&cma_mutex); -> - if (ret = 0) { +> - if (ret == 0) { > - page = pfn_to_page(pfn); > - break; > - } else if (ret != -EBUSY) { @@ -664,7 +664,7 @@ Should we remain log2.h in here? > + (unsigned long)limit, (unsigned long)alignment); > + > + /* Sanity checks */ -> + if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> + if (cma_area_count == ARRAY_SIZE(cma_areas)) { > + pr_err("%s(): Not enough slots for CMA reserved regions!\n", > + __func__); > + return -ENOSPC; @@ -777,7 +777,7 @@ Should we remain log2.h in here? > + mutex_lock(&cma_mutex); > + ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > + mutex_unlock(&cma_mutex); -> + if (ret = 0) { +> + if (ret == 0) { > + page = pfn_to_page(pfn); > + break; > + } else if (ret != -EBUSY) { diff --git a/a/content_digest b/N1/content_digest index b14b433..c9b0e95 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,25 +2,24 @@ "ref\01402543307-29800-7-git-send-email-iamjoonsoo.kim@lge.com\0" "From\0Minchan Kim <minchan@kernel.org>\0" "Subject\0Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality\0" - "Date\0Thu, 12 Jun 2014 07:13:11 +0000\0" + "Date\0Thu, 12 Jun 2014 16:13:11 +0900\0" "To\0Joonsoo Kim <iamjoonsoo.kim@lge.com>\0" - "Cc\0Andrew Morton <akpm@linux-foundation.org>" - Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> - Marek Szyprowski <m.szyprowski@samsung.com> - Michal Nazarewicz <mina86@mina86.com> + "Cc\0kvm-ppc@vger.kernel.org" Russell King - ARM Linux <linux@arm.linux.org.uk> kvm@vger.kernel.org - linux-mm@kvack.org Gleb Natapov <gleb@kernel.org> Greg Kroah-Hartman <gregkh@linuxfoundation.org> Alexander Graf <agraf@suse.de> - kvm-ppc@vger.kernel.org + Michal Nazarewicz <mina86@mina86.com> linux-kernel@vger.kernel.org + linux-mm@kvack.org Paul Mackerras <paulus@samba.org> - Benjamin Herrenschmidt <benh@kernel.crashing.org> + Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Paolo Bonzini <pbonzini@redhat.com> + Andrew Morton <akpm@linux-foundation.org> linuxppc-dev@lists.ozlabs.org - " linux-arm-kernel@lists.infradead.org\0" + linux-arm-kernel@lists.infradead.org + " Marek Szyprowski <m.szyprowski@samsung.com>\0" "\00:1\0" "b\0" "On Thu, Jun 12, 2014 at 12:21:43PM +0900, Joonsoo Kim wrote:\n" @@ -247,7 +246,7 @@ "> -\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> -\n" "> -\t/* Sanity checks */\n" - "> -\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> -\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> -\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> -\t\t\t__func__);\n" "> -\t\treturn -ENOSPC;\n" @@ -379,7 +378,7 @@ "> -\t\tmutex_lock(&cma_mutex);\n" "> -\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> -\t\tmutex_unlock(&cma_mutex);\n" - "> -\t\tif (ret = 0) {\n" + "> -\t\tif (ret == 0) {\n" "> -\t\t\tpage = pfn_to_page(pfn);\n" "> -\t\t\tbreak;\n" "> -\t\t} else if (ret != -EBUSY) {\n" @@ -689,7 +688,7 @@ "> +\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> +\n" "> +\t/* Sanity checks */\n" - "> +\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> +\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> +\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> +\t\t\t__func__);\n" "> +\t\treturn -ENOSPC;\n" @@ -802,7 +801,7 @@ "> +\t\tmutex_lock(&cma_mutex);\n" "> +\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> +\t\tmutex_unlock(&cma_mutex);\n" - "> +\t\tif (ret = 0) {\n" + "> +\t\tif (ret == 0) {\n" "> +\t\t\tpage = pfn_to_page(pfn);\n" "> +\t\t\tbreak;\n" "> +\t\t} else if (ret != -EBUSY) {\n" @@ -858,4 +857,4 @@ "Kind regards,\n" Minchan Kim -dde7422bb700a0d221d60b668e36ade888eab356289f088722a40b8dad80c757 +682d0abcc9dec38ca481037bec0346e0cff05abc10bedb286f5275bedb4eadab
diff --git a/a/1.txt b/N2/1.txt index 9d6748c..853ad24 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -222,7 +222,7 @@ Should we remain log2.h in here? > - (unsigned long)limit, (unsigned long)alignment); > - > - /* Sanity checks */ -> - if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> - if (cma_area_count == ARRAY_SIZE(cma_areas)) { > - pr_err("%s(): Not enough slots for CMA reserved regions!\n", > - __func__); > - return -ENOSPC; @@ -354,7 +354,7 @@ Should we remain log2.h in here? > - mutex_lock(&cma_mutex); > - ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > - mutex_unlock(&cma_mutex); -> - if (ret = 0) { +> - if (ret == 0) { > - page = pfn_to_page(pfn); > - break; > - } else if (ret != -EBUSY) { @@ -664,7 +664,7 @@ Should we remain log2.h in here? > + (unsigned long)limit, (unsigned long)alignment); > + > + /* Sanity checks */ -> + if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> + if (cma_area_count == ARRAY_SIZE(cma_areas)) { > + pr_err("%s(): Not enough slots for CMA reserved regions!\n", > + __func__); > + return -ENOSPC; @@ -777,7 +777,7 @@ Should we remain log2.h in here? > + mutex_lock(&cma_mutex); > + ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > + mutex_unlock(&cma_mutex); -> + if (ret = 0) { +> + if (ret == 0) { > + page = pfn_to_page(pfn); > + break; > + } else if (ret != -EBUSY) { diff --git a/a/content_digest b/N2/content_digest index b14b433..1007cab 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,26 +1,9 @@ "ref\01402543307-29800-1-git-send-email-iamjoonsoo.kim@lge.com\0" "ref\01402543307-29800-7-git-send-email-iamjoonsoo.kim@lge.com\0" - "From\0Minchan Kim <minchan@kernel.org>\0" - "Subject\0Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality\0" - "Date\0Thu, 12 Jun 2014 07:13:11 +0000\0" - "To\0Joonsoo Kim <iamjoonsoo.kim@lge.com>\0" - "Cc\0Andrew Morton <akpm@linux-foundation.org>" - Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> - Marek Szyprowski <m.szyprowski@samsung.com> - Michal Nazarewicz <mina86@mina86.com> - Russell King - ARM Linux <linux@arm.linux.org.uk> - kvm@vger.kernel.org - linux-mm@kvack.org - Gleb Natapov <gleb@kernel.org> - Greg Kroah-Hartman <gregkh@linuxfoundation.org> - Alexander Graf <agraf@suse.de> - kvm-ppc@vger.kernel.org - linux-kernel@vger.kernel.org - Paul Mackerras <paulus@samba.org> - Benjamin Herrenschmidt <benh@kernel.crashing.org> - Paolo Bonzini <pbonzini@redhat.com> - linuxppc-dev@lists.ozlabs.org - " linux-arm-kernel@lists.infradead.org\0" + "From\0minchan@kernel.org (Minchan Kim)\0" + "Subject\0[PATCH v2 06/10] CMA: generalize CMA reserved area management functionality\0" + "Date\0Thu, 12 Jun 2014 16:13:11 +0900\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Thu, Jun 12, 2014 at 12:21:43PM +0900, Joonsoo Kim wrote:\n" @@ -247,7 +230,7 @@ "> -\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> -\n" "> -\t/* Sanity checks */\n" - "> -\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> -\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> -\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> -\t\t\t__func__);\n" "> -\t\treturn -ENOSPC;\n" @@ -379,7 +362,7 @@ "> -\t\tmutex_lock(&cma_mutex);\n" "> -\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> -\t\tmutex_unlock(&cma_mutex);\n" - "> -\t\tif (ret = 0) {\n" + "> -\t\tif (ret == 0) {\n" "> -\t\t\tpage = pfn_to_page(pfn);\n" "> -\t\t\tbreak;\n" "> -\t\t} else if (ret != -EBUSY) {\n" @@ -689,7 +672,7 @@ "> +\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> +\n" "> +\t/* Sanity checks */\n" - "> +\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> +\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> +\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> +\t\t\t__func__);\n" "> +\t\treturn -ENOSPC;\n" @@ -802,7 +785,7 @@ "> +\t\tmutex_lock(&cma_mutex);\n" "> +\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> +\t\tmutex_unlock(&cma_mutex);\n" - "> +\t\tif (ret = 0) {\n" + "> +\t\tif (ret == 0) {\n" "> +\t\t\tpage = pfn_to_page(pfn);\n" "> +\t\t\tbreak;\n" "> +\t\t} else if (ret != -EBUSY) {\n" @@ -858,4 +841,4 @@ "Kind regards,\n" Minchan Kim -dde7422bb700a0d221d60b668e36ade888eab356289f088722a40b8dad80c757 +957008f4ee66562796b9b4c520a656ab84dcfb1b5d872b7702482399e4acb1db
diff --git a/a/1.txt b/N3/1.txt index 9d6748c..bd1d1d5 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -222,7 +222,7 @@ Should we remain log2.h in here? > - (unsigned long)limit, (unsigned long)alignment); > - > - /* Sanity checks */ -> - if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> - if (cma_area_count == ARRAY_SIZE(cma_areas)) { > - pr_err("%s(): Not enough slots for CMA reserved regions!\n", > - __func__); > - return -ENOSPC; @@ -354,7 +354,7 @@ Should we remain log2.h in here? > - mutex_lock(&cma_mutex); > - ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > - mutex_unlock(&cma_mutex); -> - if (ret = 0) { +> - if (ret == 0) { > - page = pfn_to_page(pfn); > - break; > - } else if (ret != -EBUSY) { @@ -664,7 +664,7 @@ Should we remain log2.h in here? > + (unsigned long)limit, (unsigned long)alignment); > + > + /* Sanity checks */ -> + if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> + if (cma_area_count == ARRAY_SIZE(cma_areas)) { > + pr_err("%s(): Not enough slots for CMA reserved regions!\n", > + __func__); > + return -ENOSPC; @@ -777,7 +777,7 @@ Should we remain log2.h in here? > + mutex_lock(&cma_mutex); > + ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > + mutex_unlock(&cma_mutex); -> + if (ret = 0) { +> + if (ret == 0) { > + page = pfn_to_page(pfn); > + break; > + } else if (ret != -EBUSY) { @@ -832,3 +832,9 @@ Should we remain log2.h in here? -- Kind regards, Minchan Kim + +-- +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 b14b433..97428ed 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -2,7 +2,7 @@ "ref\01402543307-29800-7-git-send-email-iamjoonsoo.kim@lge.com\0" "From\0Minchan Kim <minchan@kernel.org>\0" "Subject\0Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality\0" - "Date\0Thu, 12 Jun 2014 07:13:11 +0000\0" + "Date\0Thu, 12 Jun 2014 16:13:11 +0900\0" "To\0Joonsoo Kim <iamjoonsoo.kim@lge.com>\0" "Cc\0Andrew Morton <akpm@linux-foundation.org>" Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> @@ -247,7 +247,7 @@ "> -\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> -\n" "> -\t/* Sanity checks */\n" - "> -\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> -\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> -\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> -\t\t\t__func__);\n" "> -\t\treturn -ENOSPC;\n" @@ -379,7 +379,7 @@ "> -\t\tmutex_lock(&cma_mutex);\n" "> -\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> -\t\tmutex_unlock(&cma_mutex);\n" - "> -\t\tif (ret = 0) {\n" + "> -\t\tif (ret == 0) {\n" "> -\t\t\tpage = pfn_to_page(pfn);\n" "> -\t\t\tbreak;\n" "> -\t\t} else if (ret != -EBUSY) {\n" @@ -689,7 +689,7 @@ "> +\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> +\n" "> +\t/* Sanity checks */\n" - "> +\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> +\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> +\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> +\t\t\t__func__);\n" "> +\t\treturn -ENOSPC;\n" @@ -802,7 +802,7 @@ "> +\t\tmutex_lock(&cma_mutex);\n" "> +\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> +\t\tmutex_unlock(&cma_mutex);\n" - "> +\t\tif (ret = 0) {\n" + "> +\t\tif (ret == 0) {\n" "> +\t\t\tpage = pfn_to_page(pfn);\n" "> +\t\t\tbreak;\n" "> +\t\t} else if (ret != -EBUSY) {\n" @@ -856,6 +856,12 @@ "\n" "-- \n" "Kind regards,\n" - Minchan Kim + "Minchan Kim\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>" -dde7422bb700a0d221d60b668e36ade888eab356289f088722a40b8dad80c757 +703409b4aa2cec64bb1166c4bccd66e1b836d1456cc99a3549e22c66710b2dd0
diff --git a/a/1.txt b/N4/1.txt index 9d6748c..853ad24 100644 --- a/a/1.txt +++ b/N4/1.txt @@ -222,7 +222,7 @@ Should we remain log2.h in here? > - (unsigned long)limit, (unsigned long)alignment); > - > - /* Sanity checks */ -> - if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> - if (cma_area_count == ARRAY_SIZE(cma_areas)) { > - pr_err("%s(): Not enough slots for CMA reserved regions!\n", > - __func__); > - return -ENOSPC; @@ -354,7 +354,7 @@ Should we remain log2.h in here? > - mutex_lock(&cma_mutex); > - ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > - mutex_unlock(&cma_mutex); -> - if (ret = 0) { +> - if (ret == 0) { > - page = pfn_to_page(pfn); > - break; > - } else if (ret != -EBUSY) { @@ -664,7 +664,7 @@ Should we remain log2.h in here? > + (unsigned long)limit, (unsigned long)alignment); > + > + /* Sanity checks */ -> + if (cma_area_count = ARRAY_SIZE(cma_areas)) { +> + if (cma_area_count == ARRAY_SIZE(cma_areas)) { > + pr_err("%s(): Not enough slots for CMA reserved regions!\n", > + __func__); > + return -ENOSPC; @@ -777,7 +777,7 @@ Should we remain log2.h in here? > + mutex_lock(&cma_mutex); > + ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA); > + mutex_unlock(&cma_mutex); -> + if (ret = 0) { +> + if (ret == 0) { > + page = pfn_to_page(pfn); > + break; > + } else if (ret != -EBUSY) { diff --git a/a/content_digest b/N4/content_digest index b14b433..ec31b3c 100644 --- a/a/content_digest +++ b/N4/content_digest @@ -2,7 +2,7 @@ "ref\01402543307-29800-7-git-send-email-iamjoonsoo.kim@lge.com\0" "From\0Minchan Kim <minchan@kernel.org>\0" "Subject\0Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality\0" - "Date\0Thu, 12 Jun 2014 07:13:11 +0000\0" + "Date\0Thu, 12 Jun 2014 16:13:11 +0900\0" "To\0Joonsoo Kim <iamjoonsoo.kim@lge.com>\0" "Cc\0Andrew Morton <akpm@linux-foundation.org>" Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> @@ -247,7 +247,7 @@ "> -\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> -\n" "> -\t/* Sanity checks */\n" - "> -\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> -\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> -\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> -\t\t\t__func__);\n" "> -\t\treturn -ENOSPC;\n" @@ -379,7 +379,7 @@ "> -\t\tmutex_lock(&cma_mutex);\n" "> -\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> -\t\tmutex_unlock(&cma_mutex);\n" - "> -\t\tif (ret = 0) {\n" + "> -\t\tif (ret == 0) {\n" "> -\t\t\tpage = pfn_to_page(pfn);\n" "> -\t\t\tbreak;\n" "> -\t\t} else if (ret != -EBUSY) {\n" @@ -689,7 +689,7 @@ "> +\t\t(unsigned long)limit, (unsigned long)alignment);\n" "> +\n" "> +\t/* Sanity checks */\n" - "> +\tif (cma_area_count = ARRAY_SIZE(cma_areas)) {\n" + "> +\tif (cma_area_count == ARRAY_SIZE(cma_areas)) {\n" "> +\t\tpr_err(\"%s(): Not enough slots for CMA reserved regions!\\n\",\n" "> +\t\t\t__func__);\n" "> +\t\treturn -ENOSPC;\n" @@ -802,7 +802,7 @@ "> +\t\tmutex_lock(&cma_mutex);\n" "> +\t\tret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA);\n" "> +\t\tmutex_unlock(&cma_mutex);\n" - "> +\t\tif (ret = 0) {\n" + "> +\t\tif (ret == 0) {\n" "> +\t\t\tpage = pfn_to_page(pfn);\n" "> +\t\t\tbreak;\n" "> +\t\t} else if (ret != -EBUSY) {\n" @@ -858,4 +858,4 @@ "Kind regards,\n" Minchan Kim -dde7422bb700a0d221d60b668e36ade888eab356289f088722a40b8dad80c757 +9d3d1f2400c0ed8ee78eab177004377b1c85b4c88bf7bc47f072f422af474e78
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.