freebsd with flexible iflib nic queues
Go to file
Ian Dowse 4784a46912 Replace the code for reading and writing the kernel message buffer
with a new implementation that has a mostly reentrant "addchar"
routine, supports multiple message buffers in the kernel, and hides
the implementation details from callers.

The new code uses a kind of sequence number to represend the current
read and write positions in the buffer. This approach (suggested
mainly by bde) permits the read and write pointers to be maintained
separately, which reduces the number of atomic operations that are
required. The "mostly reentrant" above refers to the way that while
it is now always safe to have any number of concurrent writers,
readers could see the message buffer after a writer has advanced
the pointers but before it has witten the new character.

Discussed on:	freebsd-arch
2003-06-22 02:18:31 +00:00
bin Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
contrib Userland spinlocks bad. Sleep locks good. 2003-06-21 08:20:14 +00:00
crypto Fix off-by-one and initialization errors which prevented sshd from 2003-05-28 19:39:33 +00:00
etc Remove the devdb stuff, the kernel answers these questions just fine. 2003-06-20 09:47:09 +00:00
games Remove near-duplicate entry, keeping the better attributed one. 2003-06-19 22:52:50 +00:00
gnu Add an amd64 category now that amd64 has its own mailing list and all. 2003-06-20 10:48:26 +00:00
include Remove _PATH_DEVDB 2003-06-20 22:50:33 +00:00
kerberos5 s/USE_OPENLDAP/WITH_OPENLDAP/ per request from kris. 2003-06-18 14:23:44 +00:00
lib Add clarifications about the information that ntp_gettime returns. 2003-06-21 20:27:54 +00:00
libexec Don't declare unneeded extern variables, 2003-06-21 10:45:38 +00:00
release New release note: texinfo 4.6. 2003-06-21 00:04:11 +00:00
sbin Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
secure Fix for the NO_OPENSSL case. 2003-06-08 08:24:07 +00:00
share Update the description of the Netgear MA401 to say Prism-II/2.5; 2003-06-20 04:27:55 +00:00
sys Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
tools amd64 is actually stable enough for the regular -CURRENT tinderbox now. 2003-06-20 16:57:37 +00:00
usr.bin Fix few typos and remove two unneeded checks 2003-06-20 13:29:43 +00:00
usr.sbin Though manpage says that 0.0.0.0 can be used as HISADDR for gw 2003-06-21 10:14:52 +00:00
COPYRIGHT
MAINTAINERS Also remove the ones that snuck in at the bottom. 2003-06-16 16:12:05 +00:00
Makefile Kill upgrade target docs. It too is stale. 2003-04-03 05:34:36 +00:00
Makefile.inc1 Minor tweaks to the build process so that we can build 5.1-current on 2003-06-14 17:50:13 +00:00
README KerberosIV de-orbit burn continues. Disconnect from "make world". 2003-03-08 10:01:26 +00:00
UPDATING Add a retrospective entry about how having installed a broken sed(1) 2003-06-13 20:05:46 +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