freebsd kernel with SKQ
Go to file
Robert Watson c8e6b6899a Modify "netstat -mb" to use libmemstat(3) when acting on a live system,
with a number of positive benefits:

- Start using UMA(9) statistics for mbufs and clusters, which avoids
  using the mbuf allocator statistics which suffer from races under
  load on SMP.  This should eliminate "negative" mbuf counts in
  netstat -mb.

- We are now able to track cached (free) mbufs and clusters and count
  it towards memory allocated by the network stack.

- We are now also able to track memory allocated to mbuf tags since
  libmemstat(3) can also query malloc(9).  We don't print this except
  as part of the total (for now - #if 0).

- We are now able to track mbuf/cluster/packet allocation failures,
  although they are not currently printed (#if 0).

- Don't print out sfbuf statistics when running on a kernel core, as
  currently that code is able only to query sysctl for statistics.

MFC after:	1 week
2005-07-18 08:34:15 +00:00
bin Fix a bug when shell expansion is done against dangling symlinks, by 2005-07-07 18:10:33 +00:00
contrib Switch to contemporary TTY interface. 2005-07-15 07:41:26 +00:00
crypto This is sort of an MFS. Peter made these changes to the RELENG_* 2005-07-07 14:16:38 +00:00
etc Pass -i to pwd_mkdb(8) to ignore locking failures. This can be useful 2005-07-15 14:52:29 +00:00
games Correct an error in the previous revision. RAND_MAX is the maximum value 2005-06-22 15:24:00 +00:00
gnu remove myself as maintainer. 2005-07-17 21:18:09 +00:00
include MFP4: 2005-06-09 19:45:09 +00:00
kerberos5 This is sort of an MFS. Peter made these changes to the RELENG_* 2005-07-07 14:16:38 +00:00
lib Add __BEGIN_DECLS and __END_DECLS to make libmemstat(3) more C++-friendly. 2005-07-17 13:54:46 +00:00
libexec Clean out the leftovers from the i386_set_gsbase() TLS conversion. 2005-06-29 23:15:36 +00:00
release New release notes: 2005-07-15 16:38:52 +00:00
rescue Fix path to dhclient-script and reconnect to build. 2005-06-07 04:51:24 +00:00
sbin Merged from src/sbin/fdisk. 2005-07-15 15:31:19 +00:00
secure Revert the commits that made libssh an INTERNALLIB; they caused too much 2005-06-07 09:31:28 +00:00
share Regen: 2005-07-18 07:43:35 +00:00
sys Fix for a NFS soft mounts bug where if the number of retries exceeds 2005-07-18 02:12:17 +00:00
tools Correct one regression test (which was expected an incorrect answer), and 2005-07-15 02:31:15 +00:00
usr.bin Modify "netstat -mb" to use libmemstat(3) when acting on a live system, 2005-07-18 08:34:15 +00:00
usr.sbin Catch up with menus.c revision 1.399. 2005-07-17 03:24:11 +00:00
COPYRIGHT Complete 2005 transition. 2005-01-01 07:29:20 +00:00
LOCKS Document the previously existing RELENG_[45]_* security branch locks. 2005-06-02 22:57:30 +00:00
MAINTAINERS Since there's no emulation person, move the entry to upper section 2005-06-04 16:56:35 +00:00
Makefile Make the `distrib-dirs' target official and working properly 2005-07-15 14:38:54 +00:00
Makefile.inc1 Make the `distrib-dirs' target official and working properly 2005-07-15 14:38:54 +00:00
README
UPDATING Note RELENG_6 branch and minor related tweaks. 2005-07-11 15:46:45 +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