FreeBSD src
Go to file
rwatson c8600c5fcb Modify UMA to use critical sections to protect per-CPU caches, rather than
mutexes, which offers lower overhead on both UP and SMP.  When allocating
from or freeing to the per-cpu cache, without INVARIANTS enabled, we now
no longer perform any mutex operations, which offers a 1%-3% performance
improvement in a variety of micro-benchmarks.  We rely on critical
sections to prevent (a) preemption resulting in reentrant access to UMA on
a single CPU, and (b) migration of the thread during access.  In the event
we need to go back to the zone for a new bucket, we release the critical
section to acquire the global zone mutex, and must re-acquire the critical
section and re-evaluate which cache we are accessing in case migration has
occured, or circumstances have changed in the current cache.

Per-CPU cache statistics are now gathered lock-free by the sysctl, which
can result in small races in statistics reporting for caches.

Reviewed by:	bmilekic, jeff (somewhat)
Tested by:	rwatson, kris, gnn, scottl, mike at sentex dot net, others
2005-04-29 18:56:36 +00:00
bin o Typo: s/teminal/terminal/. 2005-04-29 11:10:27 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r145673, 2005-04-29 11:02:18 +00:00
crypto File removed in update from OpenSSL 0.9.7d -> 0.9.7e. 2005-02-25 06:22:30 +00:00
etc X logins should be recorded in lastlog / wtmp / utmp. I have no idea why 2005-04-28 07:59:09 +00:00
games s/which/witch 2005-04-24 15:31:11 +00:00
gnu Enforce style.Makefile(5). 2005-04-22 18:57:32 +00:00
include hide implementation specific internal functions from netdb.h. 2005-04-27 19:12:57 +00:00
kerberos5 Cope with the (unwise?) incompatible changes with make by adding 2005-04-18 22:03:21 +00:00
lib NETDB_INTERNAL is not fit, here. return NO_RECOVERY for h_errno. 2005-04-29 17:36:54 +00:00
libexec Fix compilation problem. 2005-04-27 13:17:23 +00:00
release New release note: SA-05:05.cvs. 2005-04-25 15:32:58 +00:00
rescue Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup 2005-04-28 16:26:35 +00:00
sbin Remove trailing spaces. 2005-04-29 07:57:50 +00:00
secure Update OpenSSL 0.9.7d -> 0.9.7e. 2005-02-25 06:04:12 +00:00
share Remove the Netgear WG311 from the list. The v1 card is supported, but 2005-04-29 15:07:44 +00:00
sys Modify UMA to use critical sections to protect per-CPU caches, rather than 2005-04-29 18:56:36 +00:00
tools Add an initial regression test suite for make(1). 2005-04-28 13:20:48 +00:00
usr.bin Rename the directive_hash.[ch] files to hash_tables.[ch] now 2005-04-29 15:15:28 +00:00
usr.sbin Update the manual page for ppp(8). 2005-04-28 22:31:37 +00:00
COPYRIGHT Complete 2005 transition. 2005-01-01 07:29:20 +00:00
MAINTAINERS Add myself as a maintainer of geom_shsec. 2005-03-13 15:30:01 +00:00
Makefile Repo-copy tools/regression/usr.bin/make to tools/build/make_check 2005-03-02 12:33:23 +00:00
Makefile.inc1 Merge from RELENG_5: invert WITH_LIB32 into NO_LIB32 so that we build the 2005-04-06 01:55:43 +00:00
README KerberosIV de-orbit burn continues. Disconnect from "make world". 2003-03-08 10:01:26 +00:00
UPDATING Note that NO_MIXED_MODE is gone. 2005-04-18 14:33:18 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html