freebsd kernel with SKQ
Go to file
Poul-Henning Kamp 56dd3a6182 Add optional device vnode bypass to DEVFS.
The tunable vfs.devfs.fops controls this feature and defaults to off.

When enabled (vfs.devfs.fops=1 in loader), device vnodes opened
through a filedescriptor gets a special fops vector which instead
of the detour through the vnode layer goes directly to DEVFS.

Amongst other things this allows us to run Giant free read/write to
device drivers which have been weaned off D_NEEDGIANT.

Currently this means /dev/null, /dev/zero, disks, (and maybe the
random stuff ?)

On a 700MHz K7 machine this doubles the speed of
	dd if=/dev/zero of=/dev/null bs=1 count=1000000

This roughly translates to shaving 2usec of each read/write syscall.

The poll/kqfilter paths need more work before they are giant free,
this work is ongoing in p4::phk_bufwork

Please test this and report any problems, LORs etc.
2004-11-08 10:46:47 +00:00
bin Back out recent TTYDEF_LFLAG_ECHO invention. 2004-11-06 13:56:18 +00:00
contrib Fix some more files that got butchered to appear to be back on the 2004-10-21 20:10:14 +00:00
crypto Better Xlist command line. 2004-10-28 16:13:28 +00:00
etc Stop method for swap1 script was introduced, because gmirror needed it. 2004-11-05 12:38:27 +00:00
games Never be afraid to try something new. Remember, amateurs built the ark. 2004-10-27 20:28:56 +00:00
gnu Remove trailing whitespace. 2004-11-07 22:49:20 +00:00
include For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
kerberos5 Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
lib MFKernel: Implement ffs with clz on Xscale. 2004-11-07 16:54:54 +00:00
libexec The 32 bit compatability ld-elf32.so.1 cannot use i386_set_ldt() when 2004-11-06 03:32:07 +00:00
release Trim the relnotes items added before 5.3-RELEASE. 2004-11-07 18:17:38 +00:00
rescue Remove references to NO_VINUM 2004-11-04 12:57:40 +00:00
sbin Bump .Dd, replace missing letter, and prefer to use a verb that 2004-11-06 14:03:37 +00:00
secure Update for OpenSSH 3.9p1. 2004-10-28 16:04:23 +00:00
share Avoid second person usage. 2004-11-07 13:40:27 +00:00
sys Add optional device vnode bypass to DEVFS. 2004-11-08 10:46:47 +00:00
tools Install in /usr/local/bin. 2004-11-07 11:09:44 +00:00
usr.bin filedesc0 is an internal detail of the kernel, don't look at it. 2004-11-07 20:38:29 +00:00
usr.sbin Reflect that -h takes an argument and belatedly bump .Dd for addition of -h 2004-11-07 04:34:37 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
installworld_newk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
installworld_oldk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
MAINTAINERS Remove vinum from the list. I no longer have the time and energy to 2004-09-08 02:08:33 +00:00
Makefile Convert tools/lib32/build.sh into world connectable hooks. This still 2004-11-06 03:14:26 +00:00
Makefile.inc1 Convert tools/lib32/build.sh into world connectable hooks. This still 2004-11-06 03:14:26 +00:00
README
UPDATING Remove RFC1644 T/TCP support from the TCP side of the network stack. 2004-11-02 22:22:22 +00:00
UPDATING.64BTT Add a tip for people who are using database-related ports on a sparc64 2004-03-17 01:59:47 +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/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.

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