Lorenzo Stoakes <[email protected]> writes:

> It's often useful to obtain the number of pages a given address lies at
> within a VMA.
>
> Add linear_page_delta() to determine this and update linear_page_index() to
> make use of it.
>
> Add comments to describe both linear_page_delta() and linear_page_index().
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes <[email protected]>

Reviewed-by: Ackerley Tng <[email protected]>

>
> [...snip...]
>

Reply via email to