Re: [PATCH v4 3/7] proc/task_mmu: clarify shmem mapping walk conditions in smap_gather_stats()
From: David Hildenbrand (Arm)
Date: Fri Sep 11 2026 - 17:06:20 EST
On 9/11/26 21:41, Suren Baghdasaryan wrote:
> smap_gather_stats() optimizes stats gathering by skipping the walk for
> shmem mappings in certain conditions. Update the comment to clarify
> these conditions and use vma_is_cow_mapping() for CoW identification
> instead of open-coding it.
>
> No functional change intended.
>
> Suggested by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David