summaryrefslogtreecommitdiff
path: root/mm/slub.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-04-25 19:58:20 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2018-07-09 13:37:42 +0300
commit2f6ea23f63cca99cd514c221f075c986b57c927e (patch)
tree23f3397f81f925209b318a6df577a58fa529ba47 /mm/slub.c
parent09605e94c2cbb67c6472c07e1c06a7a0e7271f83 (diff)
downloadlinux-2f6ea23f63cca99cd514c221f075c986b57c927e.tar.xz
arm64: KVM: Avoid marking pages as XN in Stage-2 if CTR_EL0.DIC is set
On systems where CTR_EL0.DIC is set, we don't need to perform icache invalidation to guarantee that we'll fetch the right instruction stream. This also means that taking a permission fault to invalidate the icache is an unnecessary overhead. On such systems, we can safely leave the page as being executable. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions