NetBSD/sys
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
..
altq rename the altq-defined INFINITY symbol to ALTQ_INFINITY 2010-04-09 19:32:45 +00:00
arch Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
coda Don't generate unused fs_thefs.h headers. 2010-03-02 16:43:48 +00:00
common/bus_dma
compat -fix internal use of sigwaitinfo(2) by sigwait(3): The former returns 2010-05-30 19:31:39 +00:00
conf For the simple cases, augment device-major with information on how 2010-04-30 20:47:17 +00:00
crypto
ddb
dev adjust autoconfig output: this item is part of a verbose line 2010-06-01 19:20:43 +00:00
dist handle STDC and GNUC inline semantic differences by providing and 2010-06-01 08:53:20 +00:00
external use round_page() for PAGE_ALIGN(). from Onno van der Linden 2010-05-24 08:51:53 +00:00
fs Mark files removed in the in-memory structure. This allows us 2010-05-27 23:40:12 +00:00
gdbscripts
ipkdb
kern .. except we need to check the flag while still clinging to iLock. 2010-05-27 23:58:38 +00:00
lib fix typo 2010-05-11 21:50:35 +00:00
miscfs Revert my last change, it's not The Right Thing [tm]. 2010-04-13 11:54:43 +00:00
modules Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
net Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
net80211 Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf 2010-04-05 07:19:28 +00:00
netatalk
netbt Remove unused opt_bluetooth.h 2010-03-26 18:15:15 +00:00
netinet Make sure SYN_CACHE_TIMER_ARM() has been run before calling syn_cache_put() 2010-05-26 17:38:29 +00:00
netinet6 When choosing IPv6 source addresses, respect the ifaddr preference 2010-04-22 20:05:15 +00:00
netipsec
netisdn Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf 2010-04-05 07:19:28 +00:00
netiso
netkey Remove #ifdef KERNFS by using weak symbols. Notably, this approach 2010-03-03 01:13:26 +00:00
netnatm
netsmb
nfs nfs_statvfs should return NFS_MAXNAMLEN, not MAXNAMLEN. 2010-05-15 20:24:57 +00:00
opencrypto
rump Don't pass "canfail" down to rumpuser_malloc -- there's quite little 2010-06-01 20:11:33 +00:00
secmodel
stand
sys Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
ufs Add a comment describing an observed boom-crash-burn problem in 2010-05-25 11:02:07 +00:00
uvm ubc_fault: split-off code part handling a single page into ubc_fault_page(). 2010-05-29 23:17:53 +00:00
Makefile