freebsd with flexible iflib nic queues
Go to file
Bosko Milekic 4bde2ac539 Fix is a similar race condition as existed in the mbuf code. When we go
into an interruptable sleep and we increment a sleep count, we make sure
that we are the thread that will decrement the count when we wakeup.
Otherwise, what happens is that if we get interrupted (signal) and we
have to wake up, but before we get our mutex, some thread that wants
to wake us up detects that the count is non-zero and so enters wakeup_one(),
but there's nothing on the sleep queue and so we don't get woken up. The
thread will still decrement the sleep count, which is bad because we will
also decrement it again later (as we got interrupted) and are already off
the sleep queue.
2001-03-08 19:21:45 +00:00
bin Revert this file back to how it was in the STABLE branch, this means: 2001-03-05 09:50:43 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r73569, 2001-03-05 02:54:13 +00:00
crypto Remove stuff that is really "ports material", generated files and 2001-03-04 07:26:45 +00:00
etc add PC-Card entry 2001-03-07 13:30:44 +00:00
games Compare initscr to NULL not ERR. Add FreeBSD tag. 2001-03-05 11:54:27 +00:00
gnu mdoc(7) police: Nm macro remembers its argument on the first 2001-03-05 15:14:19 +00:00
include Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
kerberos5 *Sigh*. What I did without this, I have no idea. 2001-03-05 11:18:35 +00:00
kerberosIV add strcollect.c to SRCS (new file in 1.0.5) 2000-12-29 23:44:24 +00:00
lib Submitted by: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org> 2001-03-08 13:57:41 +00:00
libexec First appeared in 4.3, not 5.0 2001-03-04 09:15:55 +00:00
release add PC-Card entry 2001-03-07 13:30:44 +00:00
sbin Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
secure MFS: Belatedly bump SHLIB_MAJOR corresponding to OpenSSL 0.9.6 2001-03-08 07:57:49 +00:00
share MFS: update HISTORY, synch dates. 2001-03-07 12:52:53 +00:00
sys Fix is a similar race condition as existed in the mbuf code. When we go 2001-03-08 19:21:45 +00:00
tools Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
usr.bin Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
usr.sbin Fix a paste-o which introduced a syntax error. 2001-03-08 10:41:40 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile End words with a `.'. 2001-03-04 10:43:14 +00:00
Makefile.inc1 setlocale(3) has been fixed to match POSIX standard: 2001-03-02 16:52:14 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Spell deprecated correctly (dufault) 2001-03-02 00:36:13 +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 have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/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.

kerberosIV	Kerberos 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