diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-02-10 01:22:07 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-02-12 06:40:25 (GMT) |
commit | 37eda9df5bd8444263418495632ea6ec750f03f9 (patch) | |
tree | 2336e3a18d082fda05e907158b61fa34e2bcde7c /block/blk-flush.c | |
parent | dec2b2849cfccf09822d6ce3f9bc84b8c8611152 (diff) | |
download | linux-37eda9df5bd8444263418495632ea6ec750f03f9.tar.xz |
ARC: mm: Introduce explicit super page size support
MMUv4 supports 2 concurrent page sizes: Normal and Super [4K to 16M]
So far Linux supported a single super page size for a given Normal page,
depending on the software page walking address split.
e.g. we had 11:8:13 address split for 8K page, which meant super page
was 2 ^(8+13) = 2M (given that THP size has to be PMD_SHIFT)
Now we turn this around, by allowing multiple Super Pages in Kconfig
(currently 2M and 16M only) and forcing page walker address split to
PGDIR_SHIFT and PAGE_SHIFT
For configs without Super page, things are same as before and
PGDIR_SHIFT can be hacked to get non default address split
The motivation for this change is a customer who needs 16M super page
and a 8K Normal page combo.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions