Skip to content
Commit 51b646b2 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

perf,mm: Handle non-page-table-aligned hugetlbfs



A limited nunmber of architectures support hugetlbfs sizes that do not
align with the page-tables (ARM64, Power, Sparc64). Add support for
this to the generic perf_get_page_size() implementation, and also
allow an architecture to override this implementation.

This latter is only needed when it uses non-page-table aligned huge
pages in its kernel map.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent 995f088e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment