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).

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Linux

Linux

Photo of impact

impact

Photo of arm64

arm64

Related news:

News photo

GTK3 Version Of gconfig Merged For Linux 6.17

News photo

Fungus-inspired Linux hack gives Amiga a Doom-only brain

News photo

GNOME's new AI assistant can even run Linux commands for you - here's how