Re: [PATCH v3 4/4] mm: pass the number of PTEs to move_pte()
From: Andreas Larsson
Date: Wed Oct 28 2026 - 09:58:04 EST
On 2026-10-28 11:17, Imre Kaloz wrote:
>> The biggest problem all of us with supporting old hardware is the maintanance
>> cost. Not just core-mm, but also things like ad-hoc page table walkers you are
>> adding we (from core-mm) might have to touch at some point.
>>
>> If there is no good reason for the complexity, out it goes.
>>
>> Because otherwise people will push more and more for removing legacy support
>> completely, and that's not what you want, right?
>
> Definitely not. Fair point, I was only looking at it from the sparc
> side, and keeping these platforms cheap to carry matters more than a
> few percent on reclaim. B it is, then; it's below the scissors, on top
> of 1/4-3/4. Thanks for taking the time to go through this!
>
> Andreas, if David is happy with it, would you take it in place of 4/4?
I'm open to a solution like that, but it'll have to wait for the next
round as we are far too far into the merge window. Patch 3 stands on its
own legs as a bugfix in the current context. So send it as a separate
patch.
Cheers,
Andreas