diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-04 18:08:32 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-05 09:39:36 +0100 |
commit | daf8741675562197d4fb4c4e9d773f53494203a5 (patch) | |
tree | a21505624d4c7963ae70e46f25b13f449c22cc18 /arch/arm/kernel/vmlinux.lds.S | |
parent | ARM: 6520/1: Kconfig: add new symbol MIGHT_HAVE_PCI (diff) | |
download | linux-daf8741675562197d4fb4c4e9d773f53494203a5.tar.xz linux-daf8741675562197d4fb4c4e9d773f53494203a5.zip |
ARM: implement support for read-mostly sections
As our SMP implementation uses MESI protocols. Grouping together data
which is mostly only read together means that we avoid unnecessary
cache line bouncing when this code shares a cache line with other data.
In other words, cache lines associated with read-mostly data are
expected to spend most of their time in shared state.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | arch/arm/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index cead8893b46b..1581f6d18cca 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S @@ -167,6 +167,7 @@ SECTIONS NOSAVE_DATA CACHELINE_ALIGNED_DATA(32) + READ_MOSTLY_DATA(32) /* * The exception fixup table (might need resorting at runtime) |