Re: [PATCH v3 01/15] mm/vma: introduce VMA anon page offset field and add helpers

From: David Hildenbrand (Arm)

Date: Mon Aug 03 2026 - 06:12:27 EST



>> The former would be better
>>
>> __vma_set_start_anon_pgoff(dest, vma_start_anon_pgoff(src));
>
> Ack that's fair, will update it.

But looking at the existing code

vma_set_pgoff(vma, vma_start_pgoff(vma) - delta);

etc, maybe we can keep it as is for symmetry.

--
Cheers,

David