freebsd with flexible iflib nic queues
Go to file
Dag-Erling Smørgrav 6c35e80948 Mutex profiling code, conditional on the MUTEX_PROFILING option. Adds the
following sysctl variables:

  debug.mutex.prof.enable	    enable / disable profiling
  debug.mutex.prof.acquisitions	    number of mutex acquisitions recorded
  debug.mutex.prof.records	    number of acquisition points recorded
  debug.mutex.prof.maxrecords	    max number of acquisition points
  debug.mutex.prof.rejected	    number of rejections (due to full table)
  debug.mutex.prof.hashsize	    hash size
  debug.mutex.prof.collisions	    number of hash collisions
  debug.mutex.prof.stats	    profiling statistics

The code records four numbers for each acquisition point (identified by
source file name and line number): longest time held, total time held,
number of non-recursive acquisitions, average time held.  The measurements
are in clock cycles (as returned by get_cyclecount(9)); this may cause
measurements on some SMP systems to be unreliable.  This can probably be
worked around by replacing get_cyclecount(9) by some incarnation of
nanotime(9).

This work was derived from initial patches by eivind.
2002-04-02 00:01:49 +00:00
bin Various mdoc fixes, including a change that corrects spacing as 2002-03-31 20:49:37 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r93526, 2002-04-01 12:20:48 +00:00
crypto Switch over to using pam_login_access(8) module in sshd(8). 2002-03-26 12:52:28 +00:00
etc The good news is that my initial PR was correct... the bad news is that I 2002-04-01 18:33:45 +00:00
games Add a few more tips, and tweak a couple. 2002-04-01 08:53:21 +00:00
gnu Restore the correct CLEANFILES that got damaged in rev. 1.15. 2002-03-30 17:37:43 +00:00
include Remove the disktab.h include file from the build. 2002-04-01 20:20:16 +00:00
kerberos5 Fix build when MAKE_KERBEROS4 is not requested. This was broken with 2002-02-21 15:54:20 +00:00
kerberosIV Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
lib When _kevent() returns with errno = EINTR and timeout is not 2002-04-01 16:09:45 +00:00
libexec Include <string.h> for some prototypes, rather than depending on 2002-04-01 21:13:17 +00:00
release Make it easier to specify a custom kernel configuration for the boot 2002-03-31 17:21:29 +00:00
sbin Add long long casts so that this compiles on archs with 64-bit longs. 2002-04-01 18:23:58 +00:00
secure Switch over to using pam_login_access(8) module in sshd(8). 2002-03-26 12:52:28 +00:00
share Point to the correct #include file. 2002-04-01 20:03:05 +00:00
sys Mutex profiling code, conditional on the MUTEX_PROFILING option. Adds the 2002-04-02 00:01:49 +00:00
tools We might as well show the log message if we're going to produce the patch. 2002-04-01 17:51:27 +00:00
usr.bin Fix SCM IDs. 2002-04-01 22:56:56 +00:00
usr.sbin Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp. 2002-04-01 21:35:24 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Makefile.inc0 is no longer used. 2002-03-03 22:37:35 +00:00
Makefile.inc1 Back out lots of the last commit that was committed by accident. 2002-04-01 20:47:27 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Spell "FreeBSD" correctly. 2002-03-26 12:35:49 +00:00
UPDATING Note comment about DP-1 2002-03-18 04:52:24 +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 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.

kerberosIV	KerberosIV (eBones) 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