Home | History | Annotate | Download | only in xldscripts
History log of /src/sys/modules/xldscripts/kmodule
RevisionDateAuthorComments
 1.2  01-Jun-2010  mjf 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.
 1.1  10-Nov-2009  skrll branches: 1.1.2; 1.1.4; 1.1.6;
Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.
 1.1.6.1  03-Jul-2010  rmind sync with head
 1.1.4.3  11-Aug-2010  yamt sync with head.
 1.1.4.2  11-Mar-2010  yamt sync with head
 1.1.4.1  10-Nov-2009  yamt file kmodule was added on branch yamt-nfs-mp on 2010-03-11 15:04:26 +0000
 1.1.2.1  17-Aug-2010  uebayasi Sync with HEAD.

RSS XML Feed