Re: [PATCH v11 00/15] khugepaged: mTHP support
From: David Hildenbrand <hidden>
Date: 2025-09-12 15:44:04
Also in:
linux-doc, linux-mm, lkml
From: David Hildenbrand <hidden>
Date: 2025-09-12 15:44:04
Also in:
linux-doc, linux-mm, lkml
quoted
Maybe in the Great Glorious Future (how many of those do we have?!) it would be a good idea to take this kinds of things into account. Just because we can map a THP, doesn't mean we should. Shower thought: it might be in these cases especially where the FreeBSD reservation system comes in handy - best effort allocating a THP, but not actually mapping it as such until you really _know_ it is hot - and until then, memory reclaim can just break your THP down if it really needs to.This is just silly. All downsides without benefit until maybe later. And for short-lived processes the "later" never comes.
Right, that's why I've also been arguing against that (we discussed it recently in the THP cabal). -- Cheers David / dhildenb