FreeBSD src
Go to file
John Baldwin 8dcb900b62 Handle "dead" witnesses better in the situation of several short term locks
being created and destroyed without a single long-term one around to ensure
the witness associated with that group of locks stays alive.  The pipe
mutexes are an example of this group.  For a dead witness we no longer
clear the witness name.  Instead, when looking up the witness for a lock,
if a dead witness' (a witness with a refcount of 0) w_name pointer is
identical to the witness name of the lock then we revive that witness
instead of using a new witness for the lock.  This results in far fewer
dead witness objects and also better preserves locking orders over the long
term resulting in more correct lock order checking.  Note that we can't
ever derefence w_name of a dead witness since we don't know if the string
it is pointing to has been free()'d or kldunload()'d out from under us.
2002-06-06 19:04:38 +00:00
bin Refer to the command format by its SUSv3 name (comm), and list command as an 2002-06-06 18:10:12 +00:00
contrib Match the DBX_OUTPUT_MAIN_SOURCE_FILE_END definition in dbxelf.h. 2002-06-06 18:00:58 +00:00
crypto Don't risk catching a signal while handling a signal for a dying child, as we 2002-05-27 08:10:24 +00:00
etc We want to play osterage and stick our heads in the sand and ignore things. 2002-06-04 22:26:11 +00:00
games Use POSIX macros for wait(2)-style status information instead of the 2002-06-03 23:13:11 +00:00
gnu Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 03:47:02 +00:00
include Const poison. 2002-05-30 21:59:16 +00:00
kerberos5 Make this -j safe. 2002-05-14 15:27:13 +00:00
kerberosIV This code is no longer WARNS level 2 OK. 2002-05-15 06:32:29 +00:00
lib Tidy up. 2002-06-06 13:55:01 +00:00
libexec Add used include of <string.h>. 2002-05-30 21:35:39 +00:00
release A script to generate all of the packages/*/* symlinks described in the INDEX 2002-06-06 00:18:49 +00:00
sbin Add 'utility' in a place that it was missing. 2002-06-05 23:39:56 +00:00
secure for OpenSSL 0.9.5a 2002-05-15 09:17:27 +00:00
share Recognize 0xbe as an uppercase character. 2002-06-03 21:30:28 +00:00
sys Handle "dead" witnesses better in the situation of several short term locks 2002-06-06 19:04:38 +00:00
tools Fixed typos. 2002-06-06 14:08:04 +00:00
usr.bin Factor out some code in preparation for un-kmeming fstat(1). 2002-06-06 18:39:53 +00:00
usr.sbin libfetch now depends on libcrypto and libssl. 2002-06-06 13:45:46 +00:00
COPYRIGHT
MAINTAINERS indent tdfx line similarly to rest of the file 2002-05-30 16:50:27 +00:00
Makefile Reimplement FILES support using bsd.files.mk with the 2002-06-03 14:49:34 +00:00
Makefile.inc1 libfetch now depends on libcrypto and libssl. 2002-06-06 13:45:46 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Spell "FreeBSD" correctly. 2002-03-26 12:35:49 +00:00
UPDATING Slightly modify the UPDATING text to indicate that -gstabs+ is a gcc 2002-06-05 20:21:40 +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/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.

kerberosIV	KerberosIV (eBones) 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/handbook/synching.html