arm64: Implement support for read-mostly sections
authorJungseok Lee <jungseoklee85@gmail.com>
Tue, 2 Dec 2014 17:49:24 +0000 (17:49 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 3 Dec 2014 10:19:35 +0000 (10:19 +0000)
commite4f88d833bec29b8e6fadc1b2488f0c6370935e1
treee4062286dd04734147b5901d3d1e86bd7cacdb1c
parenta2d25a5391ca219f196f9fee7b535c40d201c6bf
arm64: Implement support for read-mostly sections

As putting data which is read mostly together, we can avoid
unnecessary cache line bouncing.

Other architectures, such as ARM and x86, adopted the same idea.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cache.h