freebsd with flexible iflib nic queues
Go to file
Alfred Perlstein 582ec34cd8 Fix a race with free'ing vmspaces at process exit when vmspaces are
shared.

Also introduce vm_endcopy instead of using pointer tricks when
initializing new vmspaces.

The race occured because of how the reference was utilized:
  test vmspace reference,
  possibly block,
  decrement reference

When sharing a vmspace between multiple processes it was possible
for two processes exiting at the same time to test the reference
count, possibly block and neither one free because they wouldn't
see the other's update.

Submitted by: green
2002-02-05 21:23:05 +00:00
bin Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) would 2002-02-04 07:26:21 +00:00
contrib Don't use non-signal-safe functions (exit(3) in this case) in 2002-02-05 15:20:02 +00:00
crypto Don't use non-signal-safe functions (exit(3) in this case) in 2002-02-05 15:20:02 +00:00
etc Add the MTA users 'mailnull' and 'smmp'. 2002-02-04 15:12:06 +00:00
games Don't declare our own common version of the library variable `ospeed'. 2002-02-02 09:50:45 +00:00
gnu I missed adding a file that was needed on the Alpha (and will be needed 2002-02-04 17:06:30 +00:00
include Move arguments in prototype out of application namespace. 2002-02-05 06:31:58 +00:00
kerberos5 Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
kerberosIV Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
lib style: return(x) -> return (x) 2002-02-05 19:31:16 +00:00
libexec Fix minor disorder in functions declared in extern.h 2002-02-05 21:07:47 +00:00
release MFen (1.272 --> 1.275). 2002-02-05 02:23:14 +00:00
sbin Match the requirements of the new kernel structures. 2002-02-04 19:24:43 +00:00
secure Update list of manpages 2002-01-27 03:36:57 +00:00
share Add a manpage for VOP_REVOKE(9). 2002-02-05 16:08:49 +00:00
sys Fix a race with free'ing vmspaces at process exit when vmspaces are 2002-02-05 21:23:05 +00:00
tools * fix some warnings 2002-02-04 16:17:19 +00:00
usr.bin The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks 2002-02-05 19:26:04 +00:00
usr.sbin Fix the breakage in rpc.yppasswd. Readded the svc_create() and 2002-02-05 18:51:13 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 gnu/libexec has gone so remove it from the most targets. 2001-12-28 11:53:18 +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 Add info about sppp and fd changes in December to current. 2002-01-27 07:00:25 +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