ARM: implement support for read-mostly sections
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Dec 2010 17:08:32 +0000 (17:08 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 5 Dec 2010 08:39:36 +0000 (08:39 +0000)
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>

No differences found