[PATCH v2 2/6] mm: Introduce pXX_leaf_size()

Matthew Wilcox willy at infradead.org
Thu Nov 26 23:43:49 AEDT 2020


On Thu, Nov 26, 2020 at 01:01:16PM +0100, Peter Zijlstra wrote:
> A number of architectures have non-pagetable aligned huge/large pages.
> For such architectures a leaf can actually be part of a larger entry.
> 
> Provide generic helpers to determine the size of a page-table leaf.
> 
> Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>

Reviewed-by: Matthew Wilcox (Oracle) <willy at infradead.org>


More information about the Linuxppc-dev mailing list