Re: [PATCH v4 3/7] proc/task_mmu: clarify shmem mapping walk conditions in smap_gather_stats()
From: Suren Baghdasaryan
Date: Fri Sep 11 2026 - 17:32:58 EST
On Fri, Sep 11, 2026 at 2:00 PM David Hildenbrand (Arm)
<david@xxxxxxxxxx> wrote:
>
> 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>
Thanks!
>
> --
> Cheers,
>
> David