freebsd-dev/share
Gleb Smirnoff ad97af7ebd Merge from projects/counters: UMA_ZONE_PCPU zones.
These zones have slab size == sizeof(struct pcpu), but request from VM
enough pages to fit (uk_slabsize * mp_ncpus). An item allocated from such
zone would have a separate twin for each CPU in the system, and these twins
are at a distance of sizeof(struct pcpu) from each other. This magic value
of distance would allow us to make some optimizations later.

  To address private item from a CPU simple arithmetics should be used:

  item = (type *)((char *)base + sizeof(struct pcpu) * curcpu)

  These arithmetics are available as zpcpu_get() macro in pcpu.h.

  To introduce non-page size slabs a new field had been added to uma_keg
uk_slabsize. This shifted some frequently used fields of uma_keg to the
fourth cache line on amd64. To mitigate this pessimization, uma_keg fields
were a bit rearranged and least frequently used uk_name and uk_link moved
down to the fourth cache line. All other fields, that are dereferenced
frequently fit into first three cache lines.

Sponsored by:	Nginx, Inc.
2013-04-08 19:10:45 +00:00
..
atf Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
colldef
dict Disconnect non-MPSAFE NTFS from the build in preparation for dropping 2012-10-17 11:30:00 +00:00
doc Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
dtrace
examples Add the "-g <gdport>" option to the vmrun.sh script that enables remote 2013-03-28 18:03:39 +00:00
i18n - Fix handling of .mps files 2012-12-17 10:12:12 +00:00
info Install the template info directory with mode 644 instead of 444 to 2013-01-21 22:54:43 +00:00
man Merge from projects/counters: UMA_ZONE_PCPU zones. 2013-04-08 19:10:45 +00:00
me
misc Add myself as a ports committer 2013-04-05 21:17:37 +00:00
mk Tell bmake to use the FreeBSD preferred makefile preference list. 2013-04-03 16:20:21 +00:00
mklocale
monetdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
msgdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
numericdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
security
sendmail
skel Remove hack to emulate effective uid and just use the EUID's name in the 2012-12-05 13:56:39 +00:00
snmp
syscons Give credit where credit is due. 2012-12-13 00:44:23 +00:00
tabset
termcap Some software, notably dialog(1), can understand back-tab, which is 2012-11-15 15:05:54 +00:00
timedef
xml Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
xsl Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
zoneinfo Use find -exec to install zoneinfo instead of requiring xargs to be an 2013-01-11 18:37:51 +00:00
Makefile Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
Makefile.inc