diff for duplicates of <20150817214554.GA5976@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 8eb2612..f297a51 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -45,4 +45,4 @@ understanding). Alternatively if you really care about /dev/mem you could add an arch valid_phys_addr_range() that could check valid zone. Cheers, -J�r�me +Jerome diff --git a/a/2.txt b/N1/2.txt index b500f0b..8b13789 100644 --- a/a/2.txt +++ b/N1/2.txt @@ -1,37 +1 @@ ->From 45976e1186eee45ecb277fe5293a7cfa7466d740 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= <jglisse@redhat.com> -Date: Mon, 17 Aug 2015 17:31:27 -0400 -Subject: [PATCH] mm/ZONE_DEVICE: Keep ZONE_DEVICE out of allocation zonelist. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit -Memory inside a ZONE_DEVICE should never be consider by the buddy -allocator and thus any such zone should never be added to any of -the zonelist. This patch just do that. - -Signed-off-by: J�r�me Glisse <jglisse@redhat.com> ---- - mm/page_alloc.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index ef19f22..f3e26de 100644 ---- a/mm/page_alloc.c -+++ b/mm/page_alloc.c -@@ -3834,6 +3834,13 @@ static int build_zonelists_node(pg_data_t *pgdat, struct zonelist *zonelist, - do { - zone_type--; - zone = pgdat->node_zones + zone_type; -+ /* -+ * Device zone is special memory and should never be consider -+ * for regular allocation. It is expected that page in device -+ * zone will be allocated by other means. -+ */ -+ if (is_dev_zone(zone)) -+ continue; - if (populated_zone(zone)) { - zoneref_set_zone(zone, - &zonelist->_zonerefs[nr_zones++]); --- -1.8.3.1 diff --git a/a/content_digest b/N1/content_digest index b5b261d..9169672 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -72,46 +72,9 @@ "add an arch valid_phys_addr_range() that could check valid zone.\n" "\n" "Cheers,\n" - "J\303\257\302\277\302\275r\303\257\302\277\302\275me" + Jerome "\01:2\0" "fn\00001-mm-ZONE_DEVICE-Keep-ZONE_DEVICE-out-of-allocation-zo.patch\0" "b\0" - ">From 45976e1186eee45ecb277fe5293a7cfa7466d740 Mon Sep 17 00:00:00 2001\n" - "From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= <jglisse@redhat.com>\n" - "Date: Mon, 17 Aug 2015 17:31:27 -0400\n" - "Subject: [PATCH] mm/ZONE_DEVICE: Keep ZONE_DEVICE out of allocation zonelist.\n" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" - "\n" - "Memory inside a ZONE_DEVICE should never be consider by the buddy\n" - "allocator and thus any such zone should never be added to any of\n" - "the zonelist. This patch just do that.\n" - "\n" - "Signed-off-by: J\303\257\302\277\302\275r\303\257\302\277\302\275me Glisse <jglisse@redhat.com>\n" - "---\n" - " mm/page_alloc.c | 7 +++++++\n" - " 1 file changed, 7 insertions(+)\n" - "\n" - "diff --git a/mm/page_alloc.c b/mm/page_alloc.c\n" - "index ef19f22..f3e26de 100644\n" - "--- a/mm/page_alloc.c\n" - "+++ b/mm/page_alloc.c\n" - "@@ -3834,6 +3834,13 @@ static int build_zonelists_node(pg_data_t *pgdat, struct zonelist *zonelist,\n" - " \tdo {\n" - " \t\tzone_type--;\n" - " \t\tzone = pgdat->node_zones + zone_type;\n" - "+\t\t/*\n" - "+\t\t * Device zone is special memory and should never be consider\n" - "+\t\t * for regular allocation. It is expected that page in device\n" - "+\t\t * zone will be allocated by other means.\n" - "+\t\t */\n" - "+\t\tif (is_dev_zone(zone))\n" - "+\t\t\tcontinue;\n" - " \t\tif (populated_zone(zone)) {\n" - " \t\t\tzoneref_set_zone(zone,\n" - " \t\t\t\t&zonelist->_zonerefs[nr_zones++]);\n" - "-- \n" - 1.8.3.1 -d0de6bc207373b3b0e58b7863df41c76c9756bd2c1d176b80bb99efa56b07520 +85e74e0c297af4ca54d3db9f046117e8149caae8a5a2f8c7fdb5f0ade47ac843
diff --git a/a/1.txt b/N2/1.txt index 8eb2612..7a1f97c 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -45,4 +45,4 @@ understanding). Alternatively if you really care about /dev/mem you could add an arch valid_phys_addr_range() that could check valid zone. Cheers, -J�r�me +Jérôme diff --git a/a/2.txt b/N2/2.txt index b500f0b..4b90bba 100644 --- a/a/2.txt +++ b/N2/2.txt @@ -10,7 +10,7 @@ Memory inside a ZONE_DEVICE should never be consider by the buddy allocator and thus any such zone should never be added to any of the zonelist. This patch just do that. -Signed-off-by: J�r�me Glisse <jglisse@redhat.com> +Signed-off-by: Jérôme Glisse <jglisse@redhat.com> --- mm/page_alloc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/a/content_digest b/N2/content_digest index b5b261d..7bbff63 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -12,7 +12,7 @@ "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>" Boaz Harrosh <boaz@plexistor.com> Rik van Riel <riel@redhat.com> - linux-nvdimm@lists.01.org <linux-nvdimm@lists.01.org> + linux-nvdimm@lists.01.org <linux-nvdimm@ml01.01.org> Dave Hansen <dave.hansen@linux.intel.com> david <david@fromorbit.com> Ingo Molnar <mingo@kernel.org> @@ -72,7 +72,7 @@ "add an arch valid_phys_addr_range() that could check valid zone.\n" "\n" "Cheers,\n" - "J\303\257\302\277\302\275r\303\257\302\277\302\275me" + "J\303\251r\303\264me" "\01:2\0" "fn\00001-mm-ZONE_DEVICE-Keep-ZONE_DEVICE-out-of-allocation-zo.patch\0" "b\0" @@ -88,7 +88,7 @@ "allocator and thus any such zone should never be added to any of\n" "the zonelist. This patch just do that.\n" "\n" - "Signed-off-by: J\303\257\302\277\302\275r\303\257\302\277\302\275me Glisse <jglisse@redhat.com>\n" + "Signed-off-by: J\303\251r\303\264me Glisse <jglisse@redhat.com>\n" "---\n" " mm/page_alloc.c | 7 +++++++\n" " 1 file changed, 7 insertions(+)\n" @@ -114,4 +114,4 @@ "-- \n" 1.8.3.1 -d0de6bc207373b3b0e58b7863df41c76c9756bd2c1d176b80bb99efa56b07520 +f8d1e1e074bbd1616fa8abc313c53db8b701f97adc98a827f05e8392063cbc2f
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.