VOOZH about

URL: https://www.phoronix.com/news/Linux-6.18-x86-mm

⇱ A Minor Optimization Comes For x86 Memory Management In Linux 6.18 - Phoronix


👁 Phoronix

A Minor Optimization Comes For x86 Memory Management In Linux 6.18

Written by Michael Larabel in Linux Kernel on 1 October 2025 at 06:36 PM EDT. Add A Comment
Sent out today was the x86/mm pull request of the x86/x86_64 memory management changes destined for this next version of the Linux kernel. This pull has just one new patch but is worth mentioning.

The patch from Intel engineer Yu-cheng Yu is changing the cpa_flush() call to call the flush_kernel_range() function directly. The CPA flushing code is for flushing the translation lookaside buffer (TLB) as part of the Change Page Attribute (CPA) code for user and kernel space memory attributes.

With this change, the CPA flush code can make use of the INVLPGB or RAR instructions without any additional changes. INVLPGB at least can be of very nice performance benefit as shown in other testing from past Phoronix articles.

👁 Granite Rapids CPU


The code is pending via the x86/mm pull request.

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.