|
|
Log in / Subscribe / Register

Splitting must be entirely logarithmic

Splitting must be entirely logarithmic

Posted May 12, 2026 22:22 UTC (Tue) by Paf (subscriber, #91811)
In reply to: Splitting must be entirely logarithmic by willy
Parent article: Scaling transparent huge pages to 1GB

I’m not an mm developer but can you sketch why it’s any issue at all? Obviously, it’s not trivial, but seen from way outside it seems like it should be.


to post comments

Splitting must be entirely logarithmic

Posted May 13, 2026 6:29 UTC (Wed) by willy (subscriber, #9762) [Link]

It's actually fairly trivial. We assume that any PMD we find contains the head page of a folio. We also assume the inverse, that if we're creating a PMD that we want it to point to the first 2MB of a folio. It really is a SMOP to fix, it's just finding all the places that make that assumption and testing the result is a pain.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds