Thread (4 messages) 4 messages, 3 authors, 2016-06-30

Re: [merged] mm-compaction-abort-free-scanner-if-split-fails.patch removed from -mm tree

From: Joonsoo Kim <hidden>
Date: 2016-06-30 07:32:20
Also in: lkml

On Wed, Jun 29, 2016 at 12:05:09PM +0200, Vlastimil Babka wrote:
On 06/29/2016 10:12 AM, Joonsoo Kim wrote:
quoted
quoted
@@ -1035,8 +1034,12 @@ static void isolate_freepages(struct com
			continue;

		/* Found a block suitable for isolating free pages from. */
-		isolate_freepages_block(cc, &isolate_start_pfn,
-					block_end_pfn, freelist, false);
+		isolated = isolate_freepages_block(cc, &isolate_start_pfn,
+						block_end_pfn, freelist, false);
+		/* If isolation failed early, do not continue needlessly */
+		if (!isolated && isolate_start_pfn < block_end_pfn &&
+		    cc->nr_migratepages > cc->nr_freepages)
+			break;
Hello, David.

Minchan found the bug on this patch.
Was it reported in some mail to linux-mm before the patch was sent
to Linus, or just now?
Unfortunately, we found it yesterday and discussed it in offline.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help