Linux 6.7 MM Brings Performance Optimizations, Better Handling For Unaccepted Memory

Written by Michael Larabel in Linux Kernel on 9 November 2023 at 08:40 AM EST. 9 Comments
LINUX KERNEL
Andrew Morton last week sent out all of the memory management "MM" changes for the Linux 6.7 kernel for which there is a lot of code churn.

There are many MM changes this cycle with some of the most notable feature changes being:

- Back in Linux 6.5 support was added for UEFI unaccepted memory support. With Linux 6.7 now there are more kernel improvements to ensure the kernel doesn't accidentally end up using any of the "unaccepted" memory prior to being accepted.

- A fix in the buffer_head code that was causing long stalls under some heavy memory and I/O workloads.

- A significant speed-up for the boot time in cases where "significant amounts of gigantic pages" are being utilized.

- Up to 30% improved performance for accounting kernel memory allocations as measured by a micro-benchmark.

- Improved calculation of memory distances so DAX/KMEM drivers can use High Bandwidth Memory (HBM) in addition to Optane Data Center Persistent Memory Modules (Intel DCPMM).

- Cleanups and an optimization to Linux's core page cache code.

- Accounting support for HugeTLB memory.

- Continued adoption/conversion of folios throughout the kernel.

- Preparations for the new lockless slab shrinking code.

The lengthy list of MM changes in full for Linux 6.7 via this pull.

Andrew Morton also sent in thge non-MM updates for which it's mostly a random collection of minor work.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week