freebsd with flexible iflib nic queues
Go to file
Mike Makonnen c40bafac85 Implement reference counting of read-write locks. This uses
a list in the thread structure to keep track of the locks and
how many times they have been locked. This list is checked
on every lock and unlock. The traversal through the list is
O(n). Most applications don't hold so many locks at once that
this will become a problem. However, if it does become a problem
it might be a good idea to review this once libthr is
off probation and in the optimization cycle.
This fixes:
	o deadlock when a thread tries to recursively acquire a
	  read lock when a writer is waiting on the lock.
	o a thread could previously successfully unlock a lock it did not own
	o deadlock when a thread tries to acquire a write lock on
	  a lock it already owns for reading or writing [ this is admittedly
	  not required by POSIX, but is nice to have ]
2004-01-19 14:51:45 +00:00
bin - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r124703, 2004-01-19 05:14:12 +00:00
crypto Work around removal of EAI_NODATA from netdb.h. 2004-01-18 22:31:30 +00:00
etc Use the standard <bsd.files.mk> API to install files. 2004-01-19 13:40:51 +00:00
games typo, duh! 2004-01-13 08:00:55 +00:00
gnu Put libufs into the correct slot in the list. 2004-01-15 15:19:31 +00:00
include remove EAI_NODATA aliased to EAI_NONAME. 2004-01-15 15:10:02 +00:00
kerberos5 Fixed "make clean". 2004-01-15 10:02:34 +00:00
lib Implement reference counting of read-write locks. This uses 2004-01-19 14:51:45 +00:00
libexec add missing setusershell() calls. 2004-01-18 21:29:33 +00:00
release Fix "5.x release on 4.x box" support. 2004-01-19 13:35:46 +00:00
rescue Revision 1.7 of this file added information 2004-01-18 22:24:23 +00:00
sbin Fixed spacing in previous revision. 2004-01-17 00:31:38 +00:00
secure Added two utility targets "secure" and "insecure", analogous to 2004-01-18 07:44:53 +00:00
share Use the standard <bsd.files.mk> API to install files. 2004-01-19 13:40:51 +00:00
sys Removed custom "load" and "unload" targets. 2004-01-19 14:00:26 +00:00
tools Add regression tests for printf's %a/%A formats. 2004-01-19 05:59:07 +00:00
usr.bin Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, make 2004-01-18 21:46:39 +00:00
usr.sbin add missing setusershell() calls. 2004-01-18 21:29:33 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
MAINTAINERS I'll maintain dhclient from now on. 2003-08-01 17:54:11 +00:00
Makefile Put on some factor 30+ bikeshed repellent and export the internal 2003-12-09 02:08:19 +00:00
Makefile.inc1 Create ${WORLDTMP}/legacy/usr/include/c++/3.3 for usr.bin/lex. 2004-01-17 01:24:13 +00:00
README KerberosIV de-orbit burn continues. Disconnect from "make world". 2003-03-08 10:01:26 +00:00
UPDATING Add a note to say that the ACPI module has been turned back on now. 2003-12-15 19:19:16 +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