From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Hello, This is a patchset for pro-active compaction to reduce fragmentation. It is a just RFC patchset so implementation detail isn't good. I submit this for people who want to check the effect of pro-active compaction. Patch 1 ~ 4 introduces new metric for checking fragmentation. I think that this new metric is useful to check fragmentation state regardless of usefulness of pro-active compaction. Please let me know if someone see that this new metric is useful. I'd like to submit it, separately. Any feedback is more than welcome. Thanks. Joonsoo Kim (5): mm/vmstat: retrieve suitable free pageblock information just once mm/vmstat: rename variables/functions about buddyinfo mm: introduce exponential moving average to unusable free index mm/vmstat: introduce /proc/fraginfo to get fragmentation stat stably mm/compaction: run the compaction whenever fragmentation ratio exceeds the threshold include/linux/mmzone.h | 3 + mm/compaction.c | 280 +++++++++++++++++++++++++++++++++++++++++++++++-- mm/internal.h | 21 ++++ mm/page_alloc.c | 33 ++++++ mm/vmstat.c | 101 ++++++++++++------ 5 files changed, 397 insertions(+), 41 deletions(-) -- 1.9.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>