1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Jason Evans d6742bfbd3 Add thread-specific caching for small size classes, based on magazines.
This caching allows for completely lock-free allocation/deallocation in the
steady state, at the expense of likely increased memory use and
fragmentation.

Reduce the default number of arenas to 2*ncpus, since thread-specific
caching typically reduces arena contention.

Modify size class spacing to include ranges of 2^n-spaced, quantum-spaced,
cacheline-spaced, and subpage-spaced size classes.  The advantages are:
fewer size classes, reduced false cacheline sharing, and reduced internal
fragmentation for allocations that are slightly over 512, 1024, etc.

Increase RUN_MAX_SMALL, in order to limit fragmentation for the
subpage-spaced size classes.

Add a size-->bin lookup table for small sizes to simplify translating sizes
to size classes.  Include a hard-coded constant table that is used unless
custom size class spacing is specified at run time.

Add the ability to disable tiny size classes at compile time via
MALLOC_TINY.
2008-08-27 02:00:53 +00:00
bin Make stty(1) use tab0 and tab3 to handle tab completion. 2008-08-23 13:28:55 +00:00
cddl
contrib Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit 2008-08-22 15:58:00 +00:00
crypto Use net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED. 2008-08-20 10:40:07 +00:00
etc Make obrien happy #2 2008-08-25 16:31:53 +00:00
games Suggections from bde@ 2008-08-11 23:24:42 +00:00
gnu Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This 2008-08-06 14:02:05 +00:00
include Implement cproj{,f,l}(). 2008-08-07 15:07:48 +00:00
kerberos5 Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This 2008-08-06 14:02:05 +00:00
lib Add thread-specific caching for small size classes, based on magazines. 2008-08-27 02:00:53 +00:00
libexec Remove the now unneeded pt_chown utility. 2008-08-24 10:01:22 +00:00
release Recent work on the gnu cpio seems to have introduced some bugs, it 2008-08-20 13:35:39 +00:00
rescue
sbin Implement audible support similar to ping(8) -a option. Since -a was already taken, I chose -e (no real argument for this) but I'm willing to change to a different character if needed/desired. 2008-08-26 14:34:09 +00:00
secure
share Add DWA-110 and DWA-111 to the list of devices supported by rum(4) 2008-08-25 05:51:58 +00:00
sys Minor tweaks to remove references to files that aren't present in the 2008-08-27 01:41:32 +00:00
tools Add a test case for null filter. 2008-08-26 21:54:47 +00:00
usr.bin Add ECN stats. 2008-08-26 15:12:29 +00:00
usr.sbin Use the correct systime.c file instead of the "simulation mode" one. 2008-08-24 23:28:56 +00:00
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1 If a CPUTYPE isn't specified, then don't use -march=k8 when compiling 2008-08-19 14:23:26 +00:00
ObsoleteFiles.inc Remove the now unneeded pt_chown utility. 2008-08-24 10:01:22 +00:00
README
UPDATING Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +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 ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

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.

rescue		Build system for statically linked /rescue utilities.

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