freebsd kernel with SKQ
Go to file
Peter Wemm 16e9e530cc Convert lists for bufs attached to vnodes from a LIST to a TAILQ.
- Use TAILQ_* macros extensively instead of internal names
- use b_xflags instead of the NOLIST magic number hack in the next pointer
- clean bufs are inserted at the tail rather than the head.
- redo dirty buffer insert so that metadata (negative lbn) goes to the
  tail directly rather than at the HEAD.  This makes a difference when
  inserting dirty data blocks in lbn sorted order since data block
  insertion will not have to bypass all the metadata cruft.  data is
  lbn sorted since it makes sense for clustering and writeback ordering,
  while metadata sorting doesn't help much since the lbn's are
  meaningless when walking the list for writebacks.

Small systems will not notice much (if any) benefit from this, but really
busy systems with large dirty block lists should get a lot more.

I've tested this with softdep, and it doesn't seem to mind the change of
queueing of metadata.

Reviewed (in princible) by: dg
Obtained from: partly from John Dyson's work-in-progress patches in June.
1998-10-31 14:20:39 +00:00
bin Fix behaviour for 'mkdir -m 777 / /tmp/foo'. Play "guess the style bug" 1998-10-23 06:28:40 +00:00
contrib Per request from ache, change the numbering scheme of __FreeBSD_cc_version. 1998-10-29 22:11:08 +00:00
crypto Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
etc Backout rev 1.175. 1998-10-31 05:27:02 +00:00
games Allow building games w/o an existing /usr/games. 1998-10-18 11:14:58 +00:00
gnu Another instance where we default to elf only on alpha, but should 1998-10-26 18:27:32 +00:00
include Add support for -Wformat consistency checking between format strings 1998-10-29 22:18:47 +00:00
kerberos5
kerberosIV Add -lcrypt. 1998-09-05 00:34:36 +00:00
lib Add a new field to the devsw structure; dv_print, to print all valid units 1998-10-31 02:48:29 +00:00
libexec Rename a function name so that it doesn't conflict with a future system call. 1998-10-30 16:17:50 +00:00
lkm Move the kld stuff to here. 1998-10-23 11:49:47 +00:00
release Update help files to reflect changes in vm utility. 1998-10-29 12:46:31 +00:00
sbin Rename a function name so that it doesn't conflict with a future system call. 1998-10-30 16:17:50 +00:00
secure Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
share Add a hungarian map to allow use of a US 101 key keyboard. 1998-10-30 21:00:40 +00:00
sys Convert lists for bufs attached to vnodes from a LIST to a TAILQ. 1998-10-31 14:20:39 +00:00
tools Removed all `vector xxxintr' specifications. Interrupt handlers are now 1998-10-22 15:53:06 +00:00
usr.bin Fix some of the more blatant bugs in the original code, provide a 1998-10-30 18:24:54 +00:00
usr.sbin Don't call PacketAliasIn() when we turn around packets destined 1998-10-29 23:47:10 +00:00
COPYRIGHT Add Id keyword 1998-09-13 23:11:13 +00:00
Makefile Restored all lost user targets that are supported by bsd.subdir.mk: 1998-10-17 15:25:26 +00:00
Makefile.inc0 Restored all lost user targets that are supported by bsd.subdir.mk: 1998-10-17 15:25:26 +00:00
Makefile.inc1 Don't add /usr/games to $PATH. Adding it here can only work for the 1998-10-17 11:56:20 +00:00
Makefile.upgrade 3.0-RELEASE and now the post-release 3.0-CURRENT were being declared 1998-10-17 05:40:46 +00:00
README Correct the facts. The kerberosIV/ directory is not export restricted. 1998-09-13 09:38:34 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.12 1998/06/30 08:08:05 jkh Exp $

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 and the contents of /etc.  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 with config(8) 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.

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 LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Export controlled 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.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

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