freebsd kernel with SKQ
Go to file
Matthew Dillon 00a6f47f13 Finally fix the VM bug where a file whos EOF occurs in the middle of a page
would sometimes prevent a dirty page from being cleaned, even when synced,
resulting in the dirty page being re-flushed to disk every 30-60 seconds or
so, forever.  The problem is that when the filesystem flushes a page to
its backing file it typically does not clear dirty bits representing areas
of the page that are beyond the file EOF.  If the file is also mmap()'d and
a fault is taken, vm_fault (properly, is required to) set the vm_page_t->dirty
bits to VM_PAGE_BITS_ALL.  This combination could leave us with an uncleanable,
unfreeable page.

The solution is to have the vnode_pager detect the edge case and manually
clear the dirty bits representing areas beyond the file EOF.  The filesystem
does the rest and the page comes up clean after the write completes.

MFC after:	3 days
2001-10-12 18:17:34 +00:00
bin *** empty log message *** 2001-10-01 08:43:58 +00:00
contrib Fixed corruption of the vendor $Id$ to $FreeBSD$. Put $FreeBSD$ in 2001-10-12 15:05:00 +00:00
crypto Add __FBSDID() to diff-reduce with "base" telnet. 2001-10-01 16:04:55 +00:00
etc Remove references to nfsiod and nfs_client_flags now that they are 2001-10-10 20:36:51 +00:00
games Add some important advice for young optical physicists. 2001-10-05 08:27:21 +00:00
gnu Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
include Fixed some style bugs: 2001-10-10 07:34:47 +00:00
kerberos5 also install roken-common.h 2001-10-05 04:56:37 +00:00
kerberosIV Diff reduce all the crypto telnet Makefiles. 2001-08-20 12:32:45 +00:00
lib Note that strncmp() will not compare characters after a NUL character. 2001-10-11 17:02:44 +00:00
libexec Don't let a user name in ftpd's proctitle 2001-10-12 13:16:34 +00:00
release Start to move to an alphabetical (rather than semi-chronological) 2001-10-12 17:29:22 +00:00
sbin -r is implied with -B. 2001-10-10 16:26:56 +00:00
secure Add an ia64 configuration. This is not likely to be optimal, but does 2001-10-10 19:07:31 +00:00
share Fix a small style slip: Files in /dev are not 2001-10-12 10:09:36 +00:00
sys Finally fix the VM bug where a file whos EOF occurs in the middle of a page 2001-10-12 18:17:34 +00:00
tools Add $FreeBSD$. 2001-10-08 12:28:31 +00:00
usr.bin o Treat a buffer as a non-NUL terminated string, because the whois 2001-10-12 17:39:36 +00:00
usr.sbin DTRT in the restart case 2001-10-12 07:36:34 +00:00
COPYRIGHT
Makefile
Makefile.inc1 Fix cross-building, etc: 2001-09-29 13:17:54 +00:00
Makefile.upgrade
README
UPDATING Add Soren's burncd warning. 2001-10-02 07:01:27 +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