FreeBSD src
Go to file
jeff ad36b1ca05 - Hold the buf lock while manipulating and inspecting its fields.
- Use gbincore() and not incore() so that we can drop the vnode interlock
   as we acquire the buflock.
 - Use GB_LOCK_NOWAIT when getting bufs for read ahead clusters so that we
   don't block on locked bufs.
 - Convert a while loop to a howmany() that will most likely be faster on
   modern processors.  There is another while loop divide that was left
   near by because it is operating on a 64bit int and is most likely faster.
 - Cleanup the cluster_read() code a little to get rid of a goto and make
   the logic clearer.

Tested on:	x86, alpha
Tested by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
Reviewd by:	arch
2003-03-04 21:35:28 +00:00
bin WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead of 2003-02-27 18:04:54 +00:00
contrib sendmail 8.12.8 has been imported 2003-03-03 17:25:49 +00:00
crypto Resolve conflicts after import of OpenSSL 0.9.7a. 2003-02-19 23:24:16 +00:00
etc Make sure the default install comes with /etc/login.conf hashed. 2003-03-03 11:19:18 +00:00
games Fix style of recent additions and sort. 2003-02-26 04:41:58 +00:00
gnu Only cross-tools may use TARGET_ARCH/TARGET, everyone else 2003-02-27 09:19:31 +00:00
include Eliminate 19 warnings in libc (at level WARNS=2) of the 2003-02-27 13:40:01 +00:00
kerberos5 Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with 2003-01-21 14:08:24 +00:00
kerberosIV update version numbers to (consistenly): 2002-10-23 06:12:21 +00:00
lib MFlibc_r: add and document pthread_attr_get_np() function. 2003-03-03 22:40:20 +00:00
libexec mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
release SA:03-04 note was a poor cut-n-paste from the SA. Do it right this 2003-03-03 18:23:57 +00:00
sbin Add an xref to kldconfig(8). 2003-03-03 22:48:06 +00:00
secure Handle includes the normal way. 2003-02-27 23:07:26 +00:00
share Add cvsroot-all to the example 2003-03-04 19:02:27 +00:00
sys - Hold the buf lock while manipulating and inspecting its fields. 2003-03-04 21:35:28 +00:00
tools Fix a bug in the white-space remover. 2003-03-04 19:20:52 +00:00
usr.bin Don't complain about an early end-of-file in the -r case rather than 2003-03-04 21:22:05 +00:00
usr.sbin Start whining to stderr when people use obsolete flags. These flags 2003-03-04 14:59:48 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
MAINTAINERS Nuke xargs, I haven't had to help anyone with it, so I assume it stands on 2003-02-18 00:07:06 +00:00
Makefile Don't make buildworld and buildkernel in parallel. 2003-02-27 13:11:33 +00:00
Makefile.inc1 Doh, committed to the wrong branch. 2003-03-04 17:24:18 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING Acutally document how to make a LINT kernel config, besides telling all it 2003-02-13 17:55:12 +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.

kerberosIV	KerberosIV (eBones) 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