News: 0001566097

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.17 Memory Management Optimizations, DAMON_STAT & Other Improvements

([Linux Kernel] 11 Minutes Ago Linux 6.17)


All of the memory management "MM" changes were merged this week for the ongoing [1]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 [2]pull request .



[1] https://www.phoronix.com/search/Linux+6.17

[2] https://lore.kernel.org/lkml/20250730152806.16f5c618e3af0d3b8dea3159@linux-foundation.org/



phoronix

"...all the good computer designs are bootlegged; the formally planned products,
if they are built at all, are dogs!"
-- David E. Lundstrom, "A Few Good Men From Univac", MIT Press, 1987