diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-11-13 11:45:36 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-12-03 10:14:50 +0100 |
commit | 560dabbdf68bb15f9e241af8f828b1c8c38d6c6f (patch) | |
tree | 4ba7e4ceb4370c9242791161b88c01d6afc1e880 /kernel/events | |
parent | mm/gup: Provide gup_get_pte() more generic (diff) | |
download | linux-560dabbdf68bb15f9e241af8f828b1c8c38d6c6f.tar.xz linux-560dabbdf68bb15f9e241af8f828b1c8c38d6c6f.zip |
mm: Introduce pXX_leaf_size()
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@infradead.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lkml.kernel.org/r/20201126121121.102580109@infradead.org
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions