By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.17 Optimizes khugepaged For ARM64 With Huge “16x” Impact For One Code Path
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.17 Optimizes khugepaged For ARM64 With Huge “16x” Impact For One Code Path
Computing

Linux 6.17 Optimizes khugepaged For ARM64 With Huge “16x” Impact For One Code Path

News Room
Last updated: 2025/08/06 at 7:40 AM
News Room Published 6 August 2025
Share
SHARE

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. Most notable with this secondary set of patches are khugepaged optimizations that especially help ARM64 Linux systems.

Khugepaged is part of the Transparent Hugepage support in the Linux kernel and is seeing some exciting optimization work in Linux 6.17 for AArch64 hardware. The optimizations improve khugepaged throughput via batching PTE operations for large folios.

Dev Jain of Arm explained on the patch series for the work:

“If the underlying folio mapped by the ptes is large, we can process those ptes in a batch using folio_pte_batch().

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. Next, ptep_clear() will cause a TLBI for every contig block in the range via contpte_try_unfold(). Instead, use clear_ptes() to only do the TLBI at the first and last contig block of the range.

For split folios, there will be no pte batching; the batch size returned by folio_pte_batch() will be 1. For pagetable split folios, the ptes will still point to the same large folio; for arm64, this results in the optimization described above, and for other arches, a minor improvement is expected due to a reduction in the number of function calls and batching atomic operations.”

The ptep_get() call seeing a 16x reduction is a helper function for safely accessing page table entries (PTEs). ARM64 systems are also seeing a reduction in the number of TLB flushes happening as a result of these khugepaged optimizations.

Ampere ARM64 server

The additional MM pull request for Linux 6.17 additionally includes enabling EXECMEM_ROX_CACHE support for ftrace and kprobes. The merged code also brings performance improvements for the mTHP swap-in code.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article The smallest change in the iOS 26 beta should be a guiding principle
Next Article Apple iPhone 17 preview: specs, release date, and everything we know | Stuff
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Li Auto reduces prices of first electric SUV just one week after launch · TechNode
Computing
Fan kicked out of US stadium for wearing a Maga hat sparks fury
News
President Trump to Announce Apple Investment of $100 Billion in US Manufacturing
News
Licensed, banned, undecided: The state of crypto licensing in Africa
Computing

You Might also Like

Computing

Li Auto reduces prices of first electric SUV just one week after launch · TechNode

4 Min Read
Computing

Licensed, banned, undecided: The state of crypto licensing in Africa

17 Min Read
Computing

Protocol That Leaks Your Every Move: A Guide to DNS Privacy | HackerNoon

12 Min Read
Computing

Creating a Brand Mood Board that Drives All Future Design Decisions

12 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?