Go to file
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
bin Fix ps(1) and top(1) to show reasonable CPU numbers i.e. cpu_index() provided 2010-05-31 03:18:33 +00:00
common Fix rb_tree_iterate to get the min/max element of the tree for the 2010-04-30 13:58:09 +00:00
compat Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
crypto avoid another compiler warning 2010-06-01 06:07:56 +00:00
dist handle STDC and GNUC inline semantic differences by providing and 2010-06-01 08:53:20 +00:00
distrib Update to mdocml-1.10.0 2010-06-01 21:32:39 +00:00
doc uebayasi-xip: Add share/man/man9. 2010-05-31 15:01:09 +00:00
etc Fix typo in sdpd, reported by Jukka Salmi in PR 43401. 2010-06-01 21:08:13 +00:00
external Update to mdocml-1.10.0 2010-06-01 21:32:39 +00:00
extsrc Top level reach-over directory for extsrc. 2009-12-01 01:53:46 +00:00
games Fix some additional typos/grammar slips. 2010-05-29 22:56:01 +00:00
gnu Added optimization reduction for gdb/dwarf2-frame.c for Amigas. We don't 2010-05-28 19:11:23 +00:00
include more split ctype.h -> sys/ctype_inline.h, sys/ctype_bits.h 2010-06-01 13:52:07 +00:00
lib Don't pass "canfail" down to rumpuser_malloc -- there's quite little 2010-06-01 20:11:33 +00:00
libexec Remove zombie file. 2010-05-29 23:58:33 +00:00
regress verify hex digits. 2010-05-19 21:59:34 +00:00
rescue Relegate edlabel to use in extremely memory constrained install 2010-03-10 23:13:09 +00:00
sbin Change getnum() to use intmax_t instead of int, so it doesn't overflow 2010-05-28 07:40:53 +00:00
share Use .An. 2010-06-01 11:34:02 +00:00
sys Add __cacheline_aligned and __read_mostly annotations. 2010-06-01 22:13:30 +00:00
tests need bsd.own.mk to avoid the "NETBSDSRCDIR is nothing" syndrome 2010-05-31 23:53:02 +00:00
tools Fix tools build on Solaris with MKCROSSGDB=YES. 2010-05-08 23:18:44 +00:00
usr.bin no braaaains for you! 2010-05-30 00:45:03 +00:00
usr.sbin Requires sys/param.h. 2010-05-30 04:32:09 +00:00
x11 fix the dependancy list for this. 2010-03-22 00:23:59 +00:00
BUILDING Support "extsrc", externally added programs and libraries. Users can write 2009-11-30 16:13:22 +00:00
Makefile adjust the do-compat-* rules now that src/compat/lib and friends no longer exist 2009-12-13 09:29:27 +00:00
Makefile.inc
UPDATING note about xsrc update build issues. 2010-05-22 11:10:59 +00:00
build.sh Minor grammar improvement in status message. 2010-05-27 05:41:54 +00:00