diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2015-10-07 12:00:25 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-08 18:44:14 +0100 |
commit | 348a65cdcbbf243073ee39d1f7d4413081ad7eab (patch) | |
tree | 94aed8c87f719a1d1f78faa6b07c1887abfbae35 /kernel/irq | |
parent | 202e41a1c257eb56a05b5ff5bfde06f7ae98e6eb (diff) |
arm64: Mark kernel page ranges contiguous
With 64k pages, the next larger segment size is 512M. The linux
kernel also uses different protection flags to cover its code and data.
Because of this requirement, the vast majority of the kernel code and
data structures end up being mapped with 64k pages instead of the larger
pages common with a 4k page kernel.
Recent ARM processors support a contiguous bit in the
page tables which allows the a TLB to cover a range larger than a
single PTE if that range is mapped into physically contiguous
ram.
So, for the kernel its a good idea to set this flag. Some basic
micro benchmarks show it can significantly reduce the number of
L1 dTLB refills.
Add boot option to enable/disable CONT marking, as well as fix a
bug found by Steve Capper.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
[catalin.marinas@arm.com: remove CONFIG_ARM64_CONT_PTE altogether]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions