freebsd kernel with SKQ
Go to file
John Baldwin 688ebe120c - Close races with signals and other AST's being triggered while we are in
the process of exiting the kernel.  The ast() function now loops as long
  as the PS_ASTPENDING or PS_NEEDRESCHED flags are set.  It returns with
  preemption disabled so that any further AST's that arrive via an
  interrupt will be delayed until the low-level MD code returns to user
  mode.
- Use u_int's to store the tick counts for profiling purposes so that we
  do not need sched_lock just to read p_sticks.  This also closes a
  problem where the call to addupc_task() could screw up the arithmetic
  due to non-atomic reads of p_sticks.
- Axe need_proftick(), aston(), astoff(), astpending(), need_resched(),
  clear_resched(), and resched_wanted() in favor of direct bit operations
  on p_sflag.
- Fix up locking with sched_lock some.  In addupc_intr(), use sched_lock
  to ensure pr_addr and pr_ticks are updated atomically with setting
  PS_OWEUPC.  In ast() we clear pr_ticks atomically with clearing
  PS_OWEUPC.  We also do not grab the lock just to test a flag.
- Simplify the handling of Giant in ast() slightly.

Reviewed by:	bde (mostly)
2001-08-10 22:53:32 +00:00
bin mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
contrib libgmp has been superseded by libmp. 2001-08-10 18:41:56 +00:00
crypto output_data(), output_datalen() and netflush() didn't actually guarantee 2001-07-23 21:52:26 +00:00
etc Fix minor typo. 2001-08-09 15:36:03 +00:00
games mdoc(7) police: 2001-08-07 15:48:51 +00:00
gnu Remove libgmp build infrastructure. 2001-08-10 18:35:08 +00:00
include Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible 2001-07-29 00:52:37 +00:00
kerberos5 Revamp and diff-reduce the various secure telnets. Make sure that 2001-08-03 16:03:26 +00:00
kerberosIV Revamp and diff-reduce the various secure telnets. Make sure that 2001-08-03 16:03:26 +00:00
lib Use .Fn, .Fa, and .Dv where appropriate. 2001-08-10 20:49:38 +00:00
libexec mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
release Close a </sect1> and add a line of whitespace, discovered during 2001-08-10 21:18:35 +00:00
sbin mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
secure mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
share mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
sys - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
tools ISO_ -> ISO 2001-06-11 01:29:40 +00:00
usr.bin mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
usr.sbin Change copyright to BSD-style copyright. 2001-08-10 17:42:58 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Add some features to libdevstat, and overhaul the interface a bit: 2001-08-04 18:25:48 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Typo 2001-08-10 21:32:53 +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 have to build
world before.  More information is available in the handbook.

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 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.

kerberosIV	Kerberos 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