FreeBSD src
Go to file
Scott Long 7628acd8ee Up until now, the free SCB pool received only a small initial allocation,
and new SCBs were allocated on demand later if needed.  This has two
problems.  First, allocating SCBs involves allocating contiguous memory,
and if memory is exhausted then the VM will try to page out to satisfy
the request, leading to recursion and deadlock.  The second problem is
that it can cause lock order reversals due to parts of the VM still being
under Giant.

Fix the problem be allocating the full pool at driver attach, when it is
safe to do so.
2007-04-19 18:53:52 +00:00
bin Move uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostid 2007-04-09 19:16:48 +00:00
cddl Fix build breakage. Most of ZFS code is also compiled in userland and I 2007-04-17 21:38:15 +00:00
compat/opensolaris Please welcome ZFS - The last word in file systems. 2007-04-06 01:09:06 +00:00
contrib - Add new 'a' and 'j' options into usage 2007-04-19 14:24:54 +00:00
crypto - Bring upgrade produce up-to-date for OpenSSL 0.9.8e. 2007-03-15 21:06:48 +00:00
etc Quick kill posix4 directory. 2007-04-18 10:16:43 +00:00
games Line wrap previous entry 2007-03-30 04:31:53 +00:00
gnu Minor Makefile cleanup. Do not use Makefile variables named 'version' and 2007-03-12 00:28:06 +00:00
include Install only types.h from sys/rpc/. 2007-04-13 01:39:33 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Make inet6_rth_* family of functions more compliant with RFC3542: 2007-04-19 15:48:16 +00:00
libexec Reword the description of the UTF8 option (-8) so I can swear 2007-04-19 17:30:19 +00:00
release trunk(4) is now lagg(4). 2007-04-17 07:01:45 +00:00
rescue Replace the GNU gzip with a slightly modified NetBSD gzip. The 2007-01-26 10:19:08 +00:00
sbin Correct two issues in ping6: 2007-04-19 15:41:00 +00:00
secure Upgrade to OpenSSL 0.9.8e. 2007-03-15 20:15:15 +00:00
share Quick kill posix4 directory. 2007-04-18 10:16:43 +00:00
sys Up until now, the free SCB pool received only a small initial allocation, 2007-04-19 18:53:52 +00:00
tools Valid error codes for err() and errx() are 1..255. 2007-04-19 07:59:30 +00:00
usr.bin Change the export option from -w (write) to -X. 2007-04-18 16:43:21 +00:00
usr.sbin Unbreak rev 1.7's getopt usage. The -f switch does not take an argument. 2007-04-19 16:43:30 +00:00
COPYRIGHT Welcome to 2007 2006-12-31 16:35:29 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Claim maintainership of ZFS. 2007-04-06 10:57:15 +00:00
Makefile Introduce a variable TARGETS that can be set on the make command line 2007-04-02 21:32:44 +00:00
Makefile.inc1 Link libzpool, ztest and zdb against libpthread. 2007-04-17 15:52:37 +00:00
ObsoleteFiles.inc Remove net/if_trunk.h which is no longer used. 2007-04-17 01:02:55 +00:00
README
UPDATING Back-out manual procedure for maintaining compatibility with old accounting 2007-04-19 17:08:54 +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