On Mon, Jun 29, 2026 at 01:23:26PM +0100, Lorenzo Stoakes wrote: > 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: Pedro Falcato <[email protected]> -- Pedro
