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

Terence, this is stupid stuff:
You eat your victuals fast enough;
There can't be much amiss, 'tis clear,
To see the rate you drink your beer.
But oh, good Lord, the verse you make,
It gives a chap the belly-ache.
The cow, the old cow, she is dead;
It sleeps well the horned head:
We poor lads, 'tis our turn now
To hear such tunes as killed the cow.
Pretty friendship 'tis to rhyme
Your friends to death before their time.
Moping, melancholy mad:
Come, pipe a tune to dance to, lad.
-- A. E. Housman