On Fri, May 30, 2025 at 11:16:51AM +0200, David Hildenbrand wrote: [snip] > It kind-of contradicts the linked > Documentation/admin-guide/mm/transhuge.rst, where we have this *beautiful* > comment > > "Transparent Hugepage Support for anonymous memory can be entirely disable > (mostly for debugging purposes". > > I mean, "entirely" is also pretty clear to me. > > I would assume that the man page of MADV_COLLAPSE should have talked about > ignoring *khugepaged* toggles (max_ptes_none ...), at least that's what I > recall from the discussions back then. Sorry I don't want to turn this stuff into too much of a mega-thread but just a small comment here - I think we should go and update the documentation/man pages to be clearer and consistent. There is enough confusion around this as it is... > > -- > Cheers, > > David / dhildenb >