NetBSD/sys/arch/sparc64/conf
mjf e0e10b0607 Add __cacheline_aligned and __read_mostly annotations.
These annotations help to mitigate false sharing on multiprocessor
systems.

Variables annotated with __cacheline_aligned are placed into the
.data.cacheline_aligned section in the kernel. Each item in this
section is aligned on a cachline boundary - this avoids false
sharing. Highly contended global locks are a good candidate for
__cacheline_aligned annotation.

Variables annotated with __read_mostly are packed together tightly
into a .data.read_mostly section in the kernel. The idea here is that
we can pack infrequently modified data items into a cacheline and
avoid having to purge the cache, which would happen if read mostly
data and write mostly data shared a cachline. Initialisation variables
are a prime candiate for __read_mostly annotations.
2010-06-01 22:13:30 +00:00
..
files.sparc64
GENERIC add btmagic(4) where other Bluetooth drivers are listed 2010-05-22 19:02:07 +00:00
GENERIC32
GENERIC32.UP
GENERIC.DEBUG
GENERIC.UP
INSTALL GENERIC32 -> GENERIC in comment. 2010-05-22 15:55:41 +00:00
kern32.ldscript Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
kern.ldscript Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
majors.sparc64
Makefile.sparc64 Split copy related functions out of locore.s into copy.S, move functions 2010-05-23 18:49:14 +00:00
NONPLUS
NONPLUS64
std.sparc64
std.sparc64-32