FreeBSD src
Go to file
David Malone dc6dd1259f Problem to avoid processes getting stuck in "vmopar". From Ian's
mail:

	The problem seems to originate with NFS's postop_attr
	information that is returned with a read or write RPC.
	Within a vm_fault context, the code cannot deal with
	vnode_pager_setsize() shrinking a vnode.

	The workaround in the patch below stops the nfsm_postop_attr()
	macro from ever shrinking a vnode. If the new size in the
	postop_attr information is smaller, then it just sets the
	nfsnode n_attrstamp to 0 to stop the wrong size getting
	used in the future. This change only affects postop_attr
	attributes; the nfsm_loadattr() macro works as normal.

	The change is implemented by adding a new argument to
	nfs_loadattrcache() called 'dontshrink'. When this is
	non-zero, nfs_loadattrcache() will never reduce the
	vnode/nfsnode size; instead it zeros n_attrstamp.

There remain other was processes can get stuck in vmopar.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by:	dillon
Tested by:	Vadim Belman <voland@lflat.org>
2000-10-24 10:13:36 +00:00
bin Allow negative seek offsets for files that can be seeked upon. It 2000-10-22 23:00:32 +00:00
contrib Remove GLOBAL -- it has moved to Ports. 2000-10-15 07:01:47 +00:00
crypto Fix a few style oddities. 2000-09-10 18:04:12 +00:00
etc On DEVFS machines, the device name database is no use. 2000-10-22 19:10:13 +00:00
games Remove one other dup. 2000-10-12 09:26:33 +00:00
gnu Include sys/types.h 2000-10-16 07:11:30 +00:00
include Add netnatm to LDIRS 2000-10-16 07:00:18 +00:00
kerberos5 Fix ordering for real this time. 2000-08-30 03:44:30 +00:00
kerberosIV
lib We use ___setjmp (non-signal saving) to setup a signal frame. When 2000-10-22 18:35:11 +00:00
libexec Fix broken PAM with SKEY behaviour: the skey.access file checks 2000-10-12 10:21:05 +00:00
release Remove obsolete setting. The directory src/usr.sbin/sendmail/cf hasn't 2000-10-22 05:57:50 +00:00
sbin Cast block number to off_t to avoid possible overflow bugs. 2000-10-24 03:28:59 +00:00
secure Do not override BINDIR settings from subdirectory Makefiles. 2000-10-13 16:57:03 +00:00
share Add some very crude man pages to try to induce folk to work on them. 2000-10-24 03:33:24 +00:00
sys Problem to avoid processes getting stuck in "vmopar". From Ian's 2000-10-24 10:13:36 +00:00
tools Teach kerninclude to check <machine/*> #includes as well. 2000-10-13 12:03:01 +00:00
usr.bin The -o is the default for "short" display, not the -h. 2000-10-24 08:47:07 +00:00
usr.sbin Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record 2000-10-23 07:01:31 +00:00
COPYRIGHT
Makefile Pass the reinstallkernel target through from Makefile to Makefile.inc1. 2000-09-19 11:15:40 +00:00
Makefile.inc1 Number the stages in the documentation to match what is printed out when 2000-10-13 01:19:36 +00:00
Makefile.upgrade
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING rm miniperl && cd /usr/ports && cvs update -PAd now recommended 2000-10-09 03:56:39 +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/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 have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/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.

kerberosIV	Kerberos 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/handbook/synching.html