Get the latest tech news
Linux 6.17 Optimizes khugepaged For ARM64 With Huge "16x" Impact For One Code Path
Andrew Morton this week sent in some additional memory management 'MM' changes for the Linux 6.17 to complement last week's many MM patches from new optimizations to more DAMON features
The optimizations improve khugepaged throughput via batching PTE operations for large folios. For arm64 specifically, this results in a 16x reduction in the number of ptep_get() calls, since on a contig block, ptep_get() on arm64 will iterate through all 16 entries to collect a/d bits. The ptep_get() call seeing a 16x reduction is a helper function for safely accessing page table entries (PTEs).
Or read this on Phoronix