Re: [PATCH v4 1/5] mm: Make per-VMA locks available universally

From: Matthew Wilcox

Date: Mon Aug 10 2026 - 12:13:54 EST


On Mon, Aug 10, 2026 at 11:17:26AM +0100, Lorenzo Stoakes (ARM) wrote:
> And, in general, having consistent per-arch fault logic would be a good
> thing (TM) (and particularly - as Matthew intends to do - having shared
> code for this is a _really_ good idea, the duplication right now is
> horrible).
>
> So perhaps Matthew could do this as part of his changes or you could follow
> up with changes to do that?
>
> I think his work would be made easier by this being the same everywhere,
> however.

Yes, having per-VMA locks everywhere is kind of essential, so I was
planning on going second after this was merged. Hence the careful
review ;-)