Thread (114 messages) flat view 114 messages, 9 authors, 2026-06-05

Re: [PATCH mm-unstable v18 07/14] mm/khugepaged: skip collapsing mTHP to smaller orders

From: "David Hildenbrand (Arm)" <david@kernel.org>
Date: 2026-05-22 21:52:09
Also in: linux-doc, linux-mm, lkml

On 5/22/26 17:00, Nico Pache wrote:
khugepaged may try to collapse a mTHP to a smaller mTHP, resulting in
some pages being unmapped. 
The "some pages being unmapped" part is unclear.

I assume what you mean is "possibly resulting in a partially mapped source
folio, which is undesired."

But there is also the problem that we could try collapsing a folio to a
same-sized folio, which doesn't make sense (assuming the folio is fully mapped).

Clarify all that, please.

Acked-by: David Hildenbrand (arm) <david@kernel.org>

-- 
Cheers,

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help