This is a note to let you know that I've just added the patch titled mm, compaction: ignore pageblock skip when manually invoking compaction to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mm-compaction-ignore-pageblock-skip-when-manually-invoking-compaction.patch and it can be found in the queue-3.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 91ca9186484809c57303b33778d841cc28f696ed Mon Sep 17 00:00:00 2001 From: David Rientjes <rientjes@xxxxxxxxxx> Date: Thu, 3 Apr 2014 14:47:23 -0700 Subject: mm, compaction: ignore pageblock skip when manually invoking compaction From: David Rientjes <rientjes@xxxxxxxxxx> commit 91ca9186484809c57303b33778d841cc28f696ed upstream. The cached pageblock hint should be ignored when triggering compaction through /proc/sys/vm/compact_memory so all eligible memory is isolated. Manually invoking compaction is known to be expensive, there's no need to skip pageblocks based on heuristics (mainly for debugging). Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> Acked-by: Mel Gorman <mgorman@xxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Mel Gorman <mgorman@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- mm/compaction.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1193,6 +1193,7 @@ static void compact_node(int nid) struct compact_control cc = { .order = -1, .sync = true, + .ignore_skip_hint = true, }; __compact_pgdat(NODE_DATA(nid), &cc); Patches currently in stable-queue which might be from rientjes@xxxxxxxxxx are queue-3.14/mm-compaction-avoid-isolating-pinned-pages.patch queue-3.14/mm-readahead.c-fix-readahead-failure-for-memoryless-numa-nodes-and-limit-readahead-pages.patch queue-3.14/mm-exclude-memoryless-nodes-from-zone_reclaim.patch queue-3.14/mm-compaction-ignore-pageblock-skip-when-manually-invoking-compaction.patch queue-3.14/mm-compaction-determine-isolation-mode-only-once.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html