On 8/6/26 22:21, Lorenzo Stoakes (ARM) wrote:
> vma_address_end() is a confusing function with a lot of moving parts so
> clean it up prior to extending it for anon page indexed mappings.
> 
> Const-ify some variables and establish pgoff_vma_start and pgoff_end
> variables to clearly identify the page offset for the start of the VMA and
> the end of the page offset range specified by the page walk.
> 
> This simplifies the function significantly and lays the groundwork for a
> future change to update this function to account for anonymously page
> indexed folios.
> 
> No functional change intended.
> 
> Signed-off-by: Lorenzo Stoakes (ARM) <[email protected]>
> ---

Acked-by: David Hildenbrand (Arm) <[email protected]>

-- 
Cheers,

David

Reply via email to