diff for duplicates of <20100713101832.2835.42184.sendpatchset@danny.redhat> diff --git a/a/1.txt b/N1/1.txt index 93355f3..75743e0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -40,9 +40,3 @@ index 6c85e9e..21d64f7 100644 preferred_zone, migratetype); -- 1.7.1.1 - --- -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 ac18d33..2cb3069 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -57,12 +57,6 @@ " \t\t\t\tzonelist, high_zoneidx, nodemask,\n" " \t\t\t\tpreferred_zone, migratetype);\n" "-- \n" - "1.7.1.1\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>" + 1.7.1.1 -5afacc8b417bb75d6f6acd6b476452eacab942098c9a268c0a627d9665a85511 +4e9adef257f27229bb36582e799e13497895725e2932ac9890ec28ee922d2c4d
diff --git a/a/1.txt b/N2/1.txt index 93355f3..8b13789 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,48 +1 @@ ->From 6d9ae36dfe34cdbc6e1fc52e6db0b27286eb4b58 Mon Sep 17 00:00:00 2001 -From: Xiaotian Feng <dfeng@redhat.com> -Date: Tue, 13 Jul 2010 10:46:50 +0800 -Subject: [PATCH 09/30] mm: system wide ALLOC_NO_WATERMARK -The reserve is proportionally distributed over all (!highmem) zones in the -system. So we need to allow an emergency allocation access to all zones. In -order to do that we need to break out of any mempolicy boundaries we might -have. - -In my opinion that does not break mempolicies as those are user oriented -and not system oriented. That is, system allocations are not guaranteed to be -within mempolicy boundaries. For instance IRQs don't even have a mempolicy. - -So breaking out of mempolicy boundaries for 'rare' emergency allocations, -which are always system allocations (as opposed to user) is ok. - -Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> -Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de> -Signed-off-by: Xiaotian Feng <dfeng@redhat.com> ---- - mm/page_alloc.c | 5 +++++ - 1 files changed, 5 insertions(+), 0 deletions(-) - -diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 6c85e9e..21d64f7 100644 ---- a/mm/page_alloc.c -+++ b/mm/page_alloc.c -@@ -1995,6 +1995,11 @@ restart: - rebalance: - /* Allocate without watermarks if the context allows */ - if (alloc_flags & ALLOC_NO_WATERMARKS) { -+ /* -+ * break out mempolicy boundaries -+ */ -+ zonelist = node_zonelist(numa_node_id(), gfp_mask); -+ - page = __alloc_pages_high_priority(gfp_mask, order, - zonelist, high_zoneidx, nodemask, - preferred_zone, migratetype); --- -1.7.1.1 - --- -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 ac18d33..bb98408 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -16,53 +16,5 @@ " davem@davemloft.net\0" "\00:1\0" "b\0" - ">From 6d9ae36dfe34cdbc6e1fc52e6db0b27286eb4b58 Mon Sep 17 00:00:00 2001\n" - "From: Xiaotian Feng <dfeng@redhat.com>\n" - "Date: Tue, 13 Jul 2010 10:46:50 +0800\n" - "Subject: [PATCH 09/30] mm: system wide ALLOC_NO_WATERMARK\n" - "\n" - "The reserve is proportionally distributed over all (!highmem) zones in the\n" - "system. So we need to allow an emergency allocation access to all zones. In\n" - "order to do that we need to break out of any mempolicy boundaries we might\n" - "have.\n" - "\n" - "In my opinion that does not break mempolicies as those are user oriented\n" - "and not system oriented. That is, system allocations are not guaranteed to be\n" - "within mempolicy boundaries. For instance IRQs don't even have a mempolicy.\n" - "\n" - "So breaking out of mempolicy boundaries for 'rare' emergency allocations,\n" - "which are always system allocations (as opposed to user) is ok.\n" - "\n" - "Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n" - "Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>\n" - "Signed-off-by: Xiaotian Feng <dfeng@redhat.com>\n" - "---\n" - " mm/page_alloc.c | 5 +++++\n" - " 1 files changed, 5 insertions(+), 0 deletions(-)\n" - "\n" - "diff --git a/mm/page_alloc.c b/mm/page_alloc.c\n" - "index 6c85e9e..21d64f7 100644\n" - "--- a/mm/page_alloc.c\n" - "+++ b/mm/page_alloc.c\n" - "@@ -1995,6 +1995,11 @@ restart:\n" - " rebalance:\n" - " \t/* Allocate without watermarks if the context allows */\n" - " \tif (alloc_flags & ALLOC_NO_WATERMARKS) {\n" - "+\t\t/*\n" - "+\t\t * break out mempolicy boundaries\n" - "+\t\t */\n" - "+\t\tzonelist = node_zonelist(numa_node_id(), gfp_mask);\n" - "+\n" - " \t\tpage = __alloc_pages_high_priority(gfp_mask, order,\n" - " \t\t\t\tzonelist, high_zoneidx, nodemask,\n" - " \t\t\t\tpreferred_zone, migratetype);\n" - "-- \n" - "1.7.1.1\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>" -5afacc8b417bb75d6f6acd6b476452eacab942098c9a268c0a627d9665a85511 +6bdce69bd8cf94d24e576ef16c65793959dc6528a55f1783d0d012cb3137c1bc
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.