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

- From: Suren Baghdasaryan \<surenb@google.com\>
- Date: 2026-08-03 19:43:59 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/08/17359840
- Thread: https://ratatoskr.run/linux-mm/2026/08/17355349/t.md

```text
On Mon, Aug 3, 2026 at 12:34 PM Jann Horn [ref] wrote:
>
> On Sun, Aug 2, 2026 at 11:55 PM Suren Baghdasaryan [ref] wrote:
> > The per-VMA locks have been around for several years. They've had some
> > bugs worked out of them and have seen quite wide use. However, they
> > are still only available when architectures explicitly enable them.
> > Remove the conditional compilation around the per-VMA locks, making
> > them available on all architectures and configs.
>
> Reviewed-by: Jann Horn <jannh@google.com>
>
> I've grepped around in arch-specific code in the architectures that
> weren't already opted in to look for stuff that takes the mmap lock in
> write mode and manually mutates VMAs, and couldn't find anything, so I
> think this is correct.

Thanks Jann!
```
