[PATCH 0/8] compaction-related cleanups v4

From: Vlastimil Babka
Date: Mon Jul 18 2016 - 07:24:42 EST


Hi,

this is the splitted-off first part of my "make direct compaction more
deterministic" series [1], rebased on mmotm-2016-07-13-16-09-18. For the whole
series it's probably too late for 4.8 given some unresolved feedback, but I
hope this part could go in as it was stable for quite some time.

At the very least, the first patch really shouldn't wait any longer.

[1] http://marc.info/?l=linux-mm&m=146676211226806&w=2

Hugh Dickins (1):
mm, compaction: don't isolate PageWriteback pages in
MIGRATE_SYNC_LIGHT mode

Vlastimil Babka (7):
mm, page_alloc: set alloc_flags only once in slowpath
mm, page_alloc: don't retry initial attempt in slowpath
mm, page_alloc: restructure direct compaction handling in slowpath
mm, page_alloc: make THP-specific decisions more generic
mm, thp: remove __GFP_NORETRY from khugepaged and madvised allocations
mm, compaction: introduce direct compaction priority
mm, compaction: simplify contended compaction handling

include/linux/compaction.h | 33 +++---
include/linux/gfp.h | 14 +--
include/trace/events/compaction.h | 12 +--
include/trace/events/mmflags.h | 1 +
mm/compaction.c | 83 ++++-----------
mm/huge_memory.c | 29 ++---
mm/internal.h | 5 +-
mm/khugepaged.c | 2 +-
mm/migrate.c | 2 +-
mm/page_alloc.c | 215 +++++++++++++++++---------------------
tools/perf/builtin-kmem.c | 1 +
11 files changed, 164 insertions(+), 233 deletions(-)

--
2.9.0