News: 0001507086

  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.13 "MM" Patches Bring Some Enticing Performance Optimizations

([Linux Kernel] 3 Hours Ago Memory Management)


Andrew Morton on Monday submitted all the memory management "MM" related patches for the [1]Linux 6.13 merge window. As usual there's a lot of interesting performance optimizations and other low-level refinements.

In going through all the MM feature patches submitted for Linux 6.13, some of the highlights include:

- Improved memory savings for ZRAM usage via patches working on optimal post-processing target selection.

- Optimizing the truncation of shadow entries to speed up truncating very large files.

- Improving the Tmpfs large folio read performance by copying data into user-space at the folio size rather than individual pages is yielding a 20% performance improvement.

- Prep patches working toward Intel IAA accelerator support for Zswap.

- [2]Lightweight Guard Pages allow user-space to place fault-generating guard pages within a single VMA to improve the efficiency of user-space memory allocators.

- The "transparent_hugepage_shmem=" option is added for more kernel parameter controls over Transparent Hugepages (THP) from the kernel boot command-line.

- Various other optimizations and improvements.

The full list of MM feature patches for Linux 6.13 via [3]the pull request .



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

[2] https://www.phoronix.com/news/Linux-Lightweight-Guard-Pages

[3] https://lore.kernel.org/lkml/20241118193001.6aefcadd7426feafedf824e1@linux-foundation.org/



caligula

Volta

Cynic, n.:
A blackguard whose faulty vision sees things as they are, not
as they ought to be. Hence the custom among the Scythians of plucking
out a cynic's eyes to improve his vision.
-- Ambrose Bierce, "The Devil's Dictionary"