freebsd kernel with SKQ
Go to file
green 40452493ee Make the resolver(3) and many associated interfaces much more reentrant.
The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now
with what should be totally reentrant, and h_errno values will now
be preserved correctly, but this does not affect interfaces such as
gethostbyname(3) which are still mostly non-reentrant.

In all of these relevant functions, the thread-safety has been pushed
down as far as it seems possible right now.  This means that operations
that are selected via nsdispatch(3) (i.e. files, yp, dns) are protected
still under global locks that getaddrinfo(3) defines, but where possible
the locking is greatly reduced.  The most noticeable improvement is
that multiple DNS lookups can now be run at the same time, and this
shows major improvement in performance of DNS-lookup threaded programs,
and solves the "Mozilla tab serialization" problem.

No single-threaded applications need to be recompiled.  Multi-threaded
applications that reference "_res" to change resolver(3) options will
need to be recompiled, and ones which reference "h_errno" will also
if they desire the correct h_errno values.  If the applications already
understood that _res and h_errno were not thread-safe and had their own
locking, they will see no performance improvement but will not
actually break in any way.

Please note that when NSS modules are used, or when nsdispatch(3)
defaults to adding any lookups of its own to the individual libc
_nsdispatch() calls, those MUST be reentrant as well.
2004-02-25 21:03:46 +00:00
bin style.Makefile: 2004-02-23 20:05:14 +00:00
contrib Back out getopt* adding here per maintainer request 2004-02-25 03:10:14 +00:00
crypto Turn non-PAM password authentication off by default when USE_PAM is 2004-02-19 15:53:31 +00:00
etc Add "posix" subdir to "gnu" 2004-02-25 02:51:37 +00:00
games Label @ as being AC (since it's constructed like a prosign). 2004-02-20 13:46:39 +00:00
gnu Fix style bug in last commit, 2004-02-25 13:12:51 +00:00
include Make the resolver(3) and many associated interfaces much more reentrant. 2004-02-25 21:03:46 +00:00
kerberos5 style.Makefile(5). 2004-02-05 18:51:52 +00:00
lib Make the resolver(3) and many associated interfaces much more reentrant. 2004-02-25 21:03:46 +00:00
libexec Do not depend on existence of _end symbol in obj_from_addr, use 2004-02-25 17:06:16 +00:00
release Remove freebsd-update -- it breaks the Alpha, sparc64, ia64, and amd64 2004-02-25 19:05:47 +00:00
rescue Revision 1.7 of this file added information 2004-01-18 22:24:23 +00:00
sbin Fixed missing libraries. This unbreaks the -DNO_DYNAMIC_ROOT and 2004-02-24 03:46:12 +00:00
secure style.Makefile(5): 2004-02-23 20:25:27 +00:00
share Add FreeBSD 5.2.1 2004-02-25 15:58:14 +00:00
sys Re-remove MT_TAGs. The problems with dummynet have been fixed now. 2004-02-25 19:55:29 +00:00
tools style.Makefile(5): 2004-02-24 20:52:58 +00:00
usr.bin Demangled vendor ids. Fixed misplaced FreeBSD id. 2004-02-25 13:26:53 +00:00
usr.sbin According to source code, under certain conditions, logging goes to the 2004-02-25 20:31:00 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
MAINTAINERS Add somemore items to the list. The purpose is not to extert control over 2004-02-20 21:27:04 +00:00
Makefile Change the 'realclean' target name to be 'cleanworld', to match other 2004-02-20 02:10:35 +00:00
Makefile.inc1 Drop directory existence checks. 2004-02-13 21:52:08 +00:00
README KerberosIV de-orbit burn continues. Disconnect from "make world". 2003-03-08 10:01:26 +00:00
UPDATING Note change of sizeof(struct tcpcb) and libkvm recompile. 2004-02-24 16:12:09 +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