Re: [PATCH v3 1/3] mm/vma: const-ify vma_assert_stabilised() and associated functions
From: Zi Yan
Date: Thu Sep 17 2026 - 19:45:12 EST
On Thu Sep 17, 2026 at 3:47 PM EDT, Lorenzo Stoakes (ARM) wrote:
> The vma pointers are not modified in any of these functions so make it
> official by const-ify them.
>
> Propagate this throughout the call stack.
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
> ---
> include/linux/mmap_lock.h | 12 ++++++------
> tools/testing/vma/include/dup.h | 2 +-
> 2 files changed, 7 insertions(+), 7 deletions(-)
>
LGTM.
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>
--
Best Regards,
Yan, Zi