diff options
| author | Aneesh Kumar K.V <[email protected]> | 2023-07-25 00:37:49 +0530 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:53 -0700 |
| commit | c1a6c536fb088c01d6bdce77731d89ad5e1734c6 (patch) | |
| tree | bc883e4fee5037a319e88a98538e6cd0c475cb57 /tools/perf/scripts/python/sctop.py | |
| parent | f32928ab6fe5abac5a270b6c0bffc4ce77ee8c42 (diff) | |
mm/vmemmap: improve vmemmap_can_optimize and allow architectures to override
dax vmemmap optimization requires a minimum of 2 PAGE_SIZE area within
vmemmap such that tail page mapping can point to the second PAGE_SIZE
area. Enforce that in vmemmap_can_optimize() function.
Architectures like powerpc also want to enable vmemmap optimization
conditionally (only with radix MMU translation). Hence allow architecture
override.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Joao Martins <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions