Re: [PATCH v12 mm-new 06/15] khugepaged: introduce collapse_max_ptes_none helper function

From: David Hildenbrand

Date: Tue Oct 28 2025 - 13:49:56 EST


Hey Lorenzo,

I mean not to beat a dead horse re: v11 commentary, but I thought we were going
to implement David's idea re: the new 'eagerness' tunable, and again we're now just
implementing the capping at HPAGE_PMD_NR/2 - 1 thing again?

I spoke to David and he said to continue forward with this series; the
"eagerness" tunable will take some time, and may require further
considerations/discussion.

It would be good to communicate this in the patch, I wasn't aware he had said go
ahead with it. Maybe I missed the mail.

Just to clarify: yes, I think we should find a way to move forward with this series without an eagerness toggle.

That doesn't imply that we'll be using the capping as proposed here (I hate it, it's just tricky to work around it for now).

And ideally, we can do that without any temporary tunables, because I'm sure it is a problem we can solve internally long-term.

--
Cheers

David / dhildenb