freebsd kernel with SKQ
Go to file
John Polstra a2801b7731 Support full-precision file timestamps. Until now, only the seconds
have been maintained, and that is still the default.  A new sysctl
variable "vfs.timestamp_precision" can be used to enable higher
levels of precision:

      0 = seconds only; nanoseconds zeroed (default).
      1 = seconds and nanoseconds, accurate within 1/HZ.
      2 = seconds and nanoseconds, truncated to microseconds.
    >=3 = seconds and nanoseconds, maximum precision.

Level 1 uses getnanotime(), which is fast but can be wrong by up
to 1/HZ.  Level 2 uses microtime().  It might be desirable for
consistency with utimes() and friends, which take timeval structures
rather than timespecs.  Level 3 uses nanotime() for the higest
precision.

I benchmarked levels 0, 1, and 3 by copying a 550 MB tree with
"cpio -pdu".  There was almost negligible difference in the system
times -- much less than 1%, and less than the variation among
multiple runs at the same level.  Bruce Evans dreamed up a torture
test involving 1-byte reads with intervening fstat() calls, but
the cpio test seems more realistic to me.

This feature is currently implemented only for the UFS (FFS and
MFS) filesystems.  But I think it should be easy to support it in
the others as well.

An earlier version of this was reviewed by Bruce.  He's not to
blame for any breakage I've introduced since then.

Reviewed by:	bde (an earlier version of the code)
1999-08-22 00:15:16 +00:00
bin Finally: fix test -x as completely as possible. 1999-08-20 16:19:26 +00:00
contrib * Consistantly surround macro parameters with () 1999-08-20 09:01:55 +00:00
crypto Add virtual MAINTAINER line. 1999-08-16 19:05:02 +00:00
etc This is the addition of a syslog(3) security.* top-level category. This 1999-08-21 18:24:29 +00:00
games Fix core dump with `fortune -f'. 1999-08-16 13:47:15 +00:00
gnu MFS: Revert shared lib major version number back to 3. 1999-08-21 07:10:11 +00:00
include Add 2 functions: el_data_set() and el_data_get() which do what you 1999-08-20 01:17:12 +00:00
kerberos5 Link everything against libcrypt. ELF builds complain without it. 1999-01-25 06:49:43 +00:00
kerberosIV Link everything against libcrypt. ELF builds complain without it. 1999-01-25 06:49:43 +00:00
lib This is the addition of a syslog(3) security.* top-level category. This 1999-08-21 18:24:29 +00:00
libexec Ufff. cflags -> chflags. I could have sworn this change has been in 1999-08-21 20:54:40 +00:00
release This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
sbin Don't print a "," after the last superblock. 1999-08-21 22:07:27 +00:00
secure Claim ownership 1999-08-17 13:39:28 +00:00
share This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
sys Support full-precision file timestamps. Until now, only the seconds 1999-08-22 00:15:16 +00:00
tools Look for symbols in /modules/*.ko, not in /lkm/*.o. 1999-07-29 07:12:01 +00:00
usr.bin Mention rwhod(8) in the SEE ALSO section 1999-08-21 20:26:59 +00:00
usr.sbin This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
COPYRIGHT Add Id keyword 1998-09-13 23:11:13 +00:00
Makefile Comment change: "Be warned, this will update your installed system, except 1999-07-31 13:47:23 +00:00
Makefile.inc0 fix (non destructive) braino to do with quoting in makefiles. 1999-06-06 20:21:27 +00:00
Makefile.inc1 Remove f2c-related stuff from the "includes" target and from a 1999-08-08 22:26:09 +00:00
Makefile.upgrade Set X11BASE to something deliberately bogus in elf_buildworld so that 1999-03-23 08:09:25 +00:00
README No more src/lkm dir... 1999-01-06 14:02:35 +00:00
UPDATING Add ipfw recompile and bpfilter -> bpf changes 1999-08-01 18:58:45 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.13 1998/09/13 09:38:34 markm 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.

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