|
|
Log in / Subscribe / Register

MADV_COLLAPSE support?

MADV_COLLAPSE support?

Posted Apr 10, 2026 14:37 UTC (Fri) by corbet (editor, #1)
In reply to: MADV_COLLAPSE support? by andresfreund
Parent article: Removing read-only transparent huge pages for the page cache

I don't have time to dig in to verify it now but ... the patch series itself essentially replaces CONFIG_READ_ONLY_THP_FOR_FS checks with "can the filesystem do PMD-size folios?" checks. So I am guessing that MADV_COLLAPSE should work as expected.


to post comments

MADV_COLLAPSE support?

Posted Apr 10, 2026 15:07 UTC (Fri) by andresfreund (subscriber, #69562) [Link]

Ah. That'd mean it'd be more widely usable than before. That'd be great. I asked a clarification question on the thread...

Thanks for the article and response!


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