All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5731DA32.7090707@suse.cz>

diff --git a/a/1.txt b/N1/1.txt
index 2d49731..0ae0055 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -20,3 +20,34 @@ removed completely, which wasn't intentional and can lead to infinite
 loops. This should be added on top.
 
 ----8<----
+>From 59a2b38689aa451f661c964dc9bfb990736ad92d Mon Sep 17 00:00:00 2001
+From: Vlastimil Babka <vbabka@suse.cz>
+Date: Tue, 10 May 2016 14:51:03 +0200
+Subject: [PATCH 15/15] fixup! mm, compaction: more reliably increase direct
+ compaction priority
+
+---
+ mm/page_alloc.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/mm/page_alloc.c b/mm/page_alloc.c
+index fa49eb4a5919..e8a0d33cfb67 100644
+--- a/mm/page_alloc.c
++++ b/mm/page_alloc.c
+@@ -3268,6 +3268,14 @@ should_compact_retry(struct alloc_context *ac, int order, int alloc_flags,
+ 	}
+ 
+ 	/*
++	 * Compaction considers all the zones as unfixably fragmented and we
++	 * are on the highest priority, which means it can't be due to
++	 * heuristics and it doesn't really make much sense to retry.
++	 */
++	if (compaction_failed(compact_result))
++		return false;
++
++	/*
+ 	 * The remaining possibility is that compaction made progress and
+ 	 * created a high-order page, but it was allocated by somebody else.
+ 	 * To prevent thrashing, limit the number of retries in such case.
+-- 
+2.8.2
diff --git a/a/content_digest b/N1/content_digest
index c393458..a0d8500 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -37,6 +37,37 @@
  "removed completely, which wasn't intentional and can lead to infinite\n"
  "loops. This should be added on top.\n"
  "\n"
- ----8<----
+ "----8<----\n"
+ ">From 59a2b38689aa451f661c964dc9bfb990736ad92d Mon Sep 17 00:00:00 2001\n"
+ "From: Vlastimil Babka <vbabka@suse.cz>\n"
+ "Date: Tue, 10 May 2016 14:51:03 +0200\n"
+ "Subject: [PATCH 15/15] fixup! mm, compaction: more reliably increase direct\n"
+ " compaction priority\n"
+ "\n"
+ "---\n"
+ " mm/page_alloc.c | 8 ++++++++\n"
+ " 1 file changed, 8 insertions(+)\n"
+ "\n"
+ "diff --git a/mm/page_alloc.c b/mm/page_alloc.c\n"
+ "index fa49eb4a5919..e8a0d33cfb67 100644\n"
+ "--- a/mm/page_alloc.c\n"
+ "+++ b/mm/page_alloc.c\n"
+ "@@ -3268,6 +3268,14 @@ should_compact_retry(struct alloc_context *ac, int order, int alloc_flags,\n"
+ " \t}\n"
+ " \n"
+ " \t/*\n"
+ "+\t * Compaction considers all the zones as unfixably fragmented and we\n"
+ "+\t * are on the highest priority, which means it can't be due to\n"
+ "+\t * heuristics and it doesn't really make much sense to retry.\n"
+ "+\t */\n"
+ "+\tif (compaction_failed(compact_result))\n"
+ "+\t\treturn false;\n"
+ "+\n"
+ "+\t/*\n"
+ " \t * The remaining possibility is that compaction made progress and\n"
+ " \t * created a high-order page, but it was allocated by somebody else.\n"
+ " \t * To prevent thrashing, limit the number of retries in such case.\n"
+ "-- \n"
+ 2.8.2
 
-47a882b64b6b9773df9a70de481f145b201d1b88bc21fad40b4fbde9154ea373
+464026548ddef5a65f7d89099763502afdc37178be32fe621e910403b63d9936

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.