freebsd kernel with SKQ
Go to file
Robert Watson 3dab55bc86 Decompose the global UNIX domain sockets rwlock into two different
locks: a global list/counter/generation counter protected by a new
mutex unp_list_lock, and a global linkage rwlock, unp_global_rwlock,
which protects the connections between UNIX domain sockets.

This eliminates conditional lock acquisition that was previously a
property of the global lock being held over sonewconn() leading to a
call to uipc_attach(), which also required the global lock, but
couldn't rely on it as other paths existed to uipc_attach() that
didn't hold it: now uipc_attach() uses only the list lock, which
follows the linkage lock in the lock order.  It may also reduce
contention on the global lock for some workloads.

Add global UNIX domain socket locks to hard-coded witness lock
order.

MFC after:	1 week
Discussed with:	kris
2009-03-08 21:48:29 +00:00
bin Don't disable CR-to-NL translation when waiting for data to arrive. 2009-03-08 19:09:55 +00:00
cddl Correct the sense of the "use32" terenary operator so that it uses 2009-01-16 22:16:54 +00:00
contrib - Try to handle rcsfile write failures in the same way as cvsup, as they are not 2009-03-06 20:17:16 +00:00
crypto Prevent cross-site forgery attacks on lukemftpd(8) due to splitting 2009-01-07 20:17:55 +00:00
etc Install the old usb headers under /usr/include/legacy/dev/usb as they are 2009-02-24 00:53:10 +00:00
games Too good to pass. 2009-03-06 13:24:54 +00:00
gnu Define a macro for POSIX.1-2008 here until a future groff import 2009-02-28 05:47:41 +00:00
include Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes. 2009-03-04 15:45:34 +00:00
kerberos5 Add strndup(3) prototype to string.h. 2008-12-08 21:04:24 +00:00
lib Set version to 2.6.901a to indicate this now matches 2009-03-08 04:32:38 +00:00
libexec Fix build when WITH_SSP is set explicitly. 2009-02-21 15:04:31 +00:00
release Catch up with USB2 change. 2009-03-03 09:04:18 +00:00
rescue Fix build when WITH_SSP is set explicitly. 2009-02-21 15:04:31 +00:00
sbin o Spell. Sort .Xrs. 2009-03-08 18:02:30 +00:00
secure Enable getaudit_addr(2) for sshd again. This will un-break the subject 2008-11-30 15:35:24 +00:00
share Document the new default implementation of VOP_VPTOCNP(9). 2009-03-08 19:07:44 +00:00
sys Decompose the global UNIX domain sockets rwlock into two different 2009-03-08 21:48:29 +00:00
tools In UNIX domain socket GC regression test, after setting a socket 2009-03-08 21:06:02 +00:00
usr.bin Update version to 2.6.901a to indicate this is synced up with r745 of 2009-03-08 06:20:35 +00:00
usr.sbin Make IPXrouted compile using Clang by using ANSI function declarations. 2009-03-04 18:36:48 +00:00
COPYRIGHT Bump the odometer of the years. A little early this year for 7.1R. 2008-12-30 04:46:25 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Remove self. 2009-03-01 14:44:03 +00:00
Makefile Permit digits at the beginning and end of kernel config file names for 2008-12-27 15:07:51 +00:00
Makefile.inc1 Fix build when WITH_SSP is set explicitly. 2009-02-21 15:04:31 +00:00
ObsoleteFiles.inc Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
README
UPDATING Hopefully, improve the grammar and wording in the changes to shmctl(2) 2009-03-05 12:04:42 +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