Linux 6.17 Memory Management Optimizations, DAMON_STAT & Other Improvements

All of the memory management "MM" changes were merged this week for the ongoing Linux 6.17 merge window.

Among the memory management feature highlights for Linux 6.17 include:

- DAMON_STAT is merged as a new DAMON offering for simple and practical access monitoring designed for simpler setup and use within production environments.

- Optimizing mremap() for large folios yielded a 37% reduction in execution time for a memset+mremap+munmap benchmark.

- A new standalone notifier for NUMA node memory state changes.

- Introducing the ability to provide per-node proactive memory reclaim as an alternative to the memcg-based reclaim.

- Per-VMA locks for /proc/pid/maps reads to address large contention issues while in some instances reducing latency by more than half.

- Optimizing mprotect() for large folios can provide greater than 3x speed-ups to mprotect() when using large folios.


More details on the MM changes for Linux 6.17 via Andrew Morton's pull request .