freebsd kernel with SKQ
Go to file
Konstantin Belousov a505c2c72c Make the mnt_writeopcount and mnt_secondary_writes counters,
used by the suspension code, not greater then mnt_ref reference
counter value. Increment mnt_ref together with write counter
in vn_start_write()/ vn_start_secondary_write(), releasing in
vn_finished_write/vn_finished_secondary_write().

Since r186197, unmount code requires that no writers occured after all
references are expired. We still could get write counter incremented
for freed or reused struct mount, but it seems to be innocent, since
corresponding vnode should be referenced and reclaimed then.

Reported by:	pho (last half a year), erwin
Reviewed by:	attilio
Tested by:	pho, erwin
MFC after:	1 week
2009-08-31 10:20:52 +00:00
bin sh: Fix crash with empty functions (f() { }) introduced in r196483 2009-08-28 22:41:25 +00:00
cddl Fix receive when dataset has no / in its name. 2009-08-17 09:34:00 +00:00
contrib - Add AS lookup functionality to traceroute6(8) as well. 2009-08-23 17:00:16 +00:00
crypto Merge DTLS fixes from vendor-crypto/openssl/dist: 2009-08-23 16:29:47 +00:00
etc In the loop through the list of interfaces in network6_interface_setup() 2009-08-27 15:24:26 +00:00
games Fix several instances of spaces before commas, and one of a space 2009-07-16 20:29:36 +00:00
gnu Add support for diffs generated by Perforce. 2009-08-23 12:23:24 +00:00
include ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6 2009-08-13 23:18:45 +00:00
kerberos5 Disconnect closefrom.c as we have it as a system call. 2009-06-16 00:09:06 +00:00
lib Prevents pam_lastlog from segfaulting on session close when tty is null. 2009-08-30 05:12:37 +00:00
libexec Implement RTLD_NOLOAD flag for dlopen(3). 2009-07-17 19:45:42 +00:00
release Update some comments to match the removal of the docset compilation 2009-08-27 13:18:59 +00:00
rescue Add the "vnet" and "-vnet" options, to allow moving interfaces between 2009-06-24 18:21:37 +00:00
sbin Short ATA command format has 28bit address, not 36bit. 2009-08-30 16:31:25 +00:00
secure Bump the version of all non-symbol-versioned shared libraries in 2009-07-19 17:25:24 +00:00
share MFp4: 2009-08-30 15:20:13 +00:00
sys Make the mnt_writeopcount and mnt_secondary_writes counters, 2009-08-31 10:20:52 +00:00
tools sh: Fix crash with empty functions (f() { }) introduced in r196483 2009-08-28 22:41:25 +00:00
usr.bin Fix the problem that the entry broke into two lines with multi-byte 2009-08-30 11:17:42 +00:00
usr.sbin MFV of r195794 2009-08-27 12:36:15 +00:00
COPYRIGHT Bump the odometer of the years. A little early this year for 7.1R. 2008-12-30 04:46:25 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS - pkg_install is maintained by portmgr. 2009-07-06 11:46:18 +00:00
Makefile Add a new world named 'mips' to our universe. 2009-04-01 17:11:50 +00:00
Makefile.inc1 Second attempt at eliminating .text relocations in shared libraries 2009-07-14 21:19:13 +00:00
ObsoleteFiles.inc ObsoleteFiles.inc: 2009-08-23 18:28:58 +00:00
README Vendor import of OpenBSM 1.1p2, which incorporates the following changes 2009-08-02 00:19:36 +00:00
UPDATING Make head 9.0-CURRENT in preparation for lifting code freeze. 2009-08-22 23:44:37 +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