Re: [PATCH v5 1/6] mm: introduce vma_start_read_locked{_nested} helpers

From: Vlastimil Babka
Date: Tue Dec 10 2024 - 04:03:13 EST


On 12/6/24 23:51, Suren Baghdasaryan wrote:
> Introduce helper functions which can be used to read-lock a VMA when
> holding mmap_lock for read. Replace direct accesses to vma->vm_lock
> with these new helpers.
>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
> Reviewed-by: Davidlohr Bueso <dave@xxxxxxxxxxxx>
> Reviewed-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>

Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>