freebsd kernel with SKQ
Go to file
rmacklem 1110825468 When an NFS unmount occurs, once vflush() writes the last dirty
buffer for the last vnode on the mount back to the server, it
returns. At that point, the code continues with the unmount,
including freeing up the nfs specific part of the mount structure.
It is possible that an nfsiod thread will try to check for an
empty I/O queue in the nfs specific part of the mount structure
after it has been free'd by the unmount. This patch avoids this problem by
setting the iodmount entries for the mount back to NULL while holding the
mutex in the unmount and checking the appropriate entry is non-NULL after
acquiring the mutex in the nfsiod thread.

Reported and tested by:	pho
Reviewed by:	kib
MFC after:	2 weeks
2013-04-18 23:20:16 +00:00
bin sh: Don't modify exit status when break/continue/return passes !. 2013-04-12 15:19:35 +00:00
cddl DTrace: NFS translators should be split into client/server pieces 2013-04-18 01:20:08 +00:00
contrib Fix the value of NT_FREEBSD_TAG to be the same as ABI_NOTRTYPE in lib/csu. 2013-04-18 02:20:58 +00:00
crypto Silence "received disconnect" in the common case. 2013-04-14 13:06:07 +00:00
etc Also call configtest before reload to ensure working config. 2013-04-16 17:30:13 +00:00
games Remove a reference to instant-server which has been removed from the 2013-03-21 12:42:25 +00:00
gnu Add FreeBSD 8.4. 2013-04-08 20:33:51 +00:00
include - Correct mispellings of the word necessary 2013-04-17 11:42:40 +00:00
kerberos5 Add -lheimntlm to LDADD directly. 2013-02-11 09:45:24 +00:00
lib Remove debug code. 2013-04-18 05:58:07 +00:00
libexec The origin_subst_one() function limits the length of the string to 2013-04-15 20:06:56 +00:00
release Fix a few typos. 2013-04-12 02:01:17 +00:00
rescue Remove all legacy ATA code parts, not used since options ATA_CAM enabled in 2013-04-04 07:12:24 +00:00
sbin Use arc4random() instead of random(). 2013-04-15 05:39:21 +00:00
secure Upgrade to OpenSSH 6.2p1. The most important new features are support 2013-03-22 17:55:38 +00:00
share Remove EOL whitespace. 2013-04-18 10:08:27 +00:00
sys When an NFS unmount occurs, once vflush() writes the last dirty 2013-04-18 23:20:16 +00:00
tools Style cleanups. 2013-04-17 21:08:18 +00:00
usr.bin Replace hardcoded numbers. Also use interface-local scope name instead 2013-04-16 11:25:45 +00:00
usr.sbin - Correct mispellings of the word necessary 2013-04-17 11:42:40 +00:00
COPYRIGHT Happy New Year 2013! 2012-12-31 11:22:55 +00:00
LOCKS Test commit to make sure commit mail works after moving the server. 2012-12-29 16:03:23 +00:00
MAINTAINERS Update wiht the times. 2013-03-28 02:44:15 +00:00
Makefile If doing buildworld -DWITH_BMAKE make sure bmake does the build. 2013-04-12 00:34:19 +00:00
Makefile.inc1 Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ObsoleteFiles.inc Add one more obsolete file. 2013-04-14 12:20:13 +00:00
README Vendor import of OpenSSH 6.2p1. 2013-03-22 11:19:48 +00:00
UPDATING Add warning about SOCK_CLOEXEC and SOCK_NONBLOCK (r248534). 2013-04-06 22:28:19 +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.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

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