[PATCH v2 00/10] try to reduce fragmenting fallbacks

Vlastimil Babka
2017-02-10T19:15:00Z

Hi,

this is a v2 of [1] from last year, which was a response to Johanes' worries
about mobility grouping regressions. There are some new patches and the order
goes from cleanups to "obvious wins" towards "just RFC" (last two patches).
But it's all theoretical for now, I'm trying to run some tests with the usual
problem of not having good workloads and metrics :) But I'd like to hear some
feedback anyway. For now this is based on v4.9.

I think the only substantial new patch is 08/10, the rest is some cleanups,
small tweaks and bugfixes.

[1] https://www.spinics.net/lists/linux-mm/msg114380.html

Vlastimil Babka (10):
mm, compaction: reorder fields in struct compact_control
mm, compaction: remove redundant watermark check in compact_finished()
mm, page_alloc: split smallest stolen page in fallback
mm, page_alloc: count movable pages when stealing from pageblock
mm, compaction: change migrate_async_suitable() to
suitable_migration_source()
mm, compaction: add migratetype to compact_control
mm, compaction: restrict async compaction to pageblocks of same
migratetype
mm, compaction: finish whole pageblock to reduce fragmentation
mm, page_alloc: disallow migratetype fallback in fastpath
mm, page_alloc: introduce MIGRATE_MIXED migratetype

include/linux/mmzone.h | 6 ++
include/linux/page-isolation.h | 5 +-
mm/compaction.c | 116 +++++++++++++++++-------
mm/internal.h | 14 +--
mm/page_alloc.c | 196 +++++++++++++++++++++++++++++------------
mm/page_isolation.c | 5 +-
6 files changed, 246 insertions(+), 96 deletions(-)

--
2.11.0