OSDN Git Service

arm64: Do not flush the D-cache for anonymous pages
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 May 2013 15:34:22 +0000 (16:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:24:27 +0000 (12:24 -0800)
commitfc54900e08d840fcfec9e5d2fba2c6f233aa49b9
tree02544fb3318f7a5430b72302dfc1e0553190a7a2
parent1e616427f20943c9966296dfff9e7a2b825846aa
arm64: Do not flush the D-cache for anonymous pages

commit 7249b79f6b4cc3c2aa9138dca52e535a4c789107 upstream.

The D-cache on AArch64 is VIPT non-aliasing, so there is no need to
flush it for anonymous pages.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Will Deacon <will.deacon@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/mm/flush.c
arch/arm64/mm/mmu.c