FreeBSD src
Go to file
Bruce Evans d2ef4060d7 Fixed a longstanding latency bug in signal delivery. When a signal
is sent to a process, psignal() needs to schedule an AST for the
process if the process is runnable, not just if it is current, so that
pending signals get checked for on the next return of the process to
user mode.  This wasn't practical until recently because the AST flag
was per-cpu so setting it for a non-current process would usually just
cause a bogus AST for the current process.

For non-current processes looping in user mode, it took accidental
(?) magic to deliver signals at all.  Signals were usually delivered
late as a side effect of rescheduling (need_resched() sets astpending,
etc.).  In pre-SMPng, delivery was delayed by at most 1 quantum (the
need_resched() call in roundrobin() is certain to occur within 1
quantum for looping processes).  In -current, things are complicated
by normal interrupt handlers being threads.  Missing handling of the
complications makes roundrobin() a bogus no-op, but preemptive
scheduling sort of works anyway due to even larger bogons elsewhere.
2001-02-19 09:40:58 +00:00
bin Do not coredump if no options are supplied. (ps -o,) 2001-02-14 18:54:34 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r72571, 2001-02-17 15:48:22 +00:00
crypto Resolve conflicts 2001-02-18 03:23:30 +00:00
etc Add 500.queuerun 2001-02-19 07:12:37 +00:00
games Fixed style bug (bloat of a line length past 80 columns) in previous commit. 2001-02-18 01:26:17 +00:00
gnu Introduce $TAR_RSH to enable use of ssh as transport. 2001-02-18 17:30:29 +00:00
include Be extra certain that "#include <osreldate.h>" must not be used in 2001-02-18 20:44:06 +00:00
kerberos5 Fix build, and make parallel build much more robust. 2001-02-14 19:47:24 +00:00
kerberosIV add strcollect.c to SRCS (new file in 1.0.5) 2000-12-29 23:44:24 +00:00
lib Deal properly with "0" 2001-02-19 06:19:51 +00:00
libexec Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
release Enable command line editing in the shell 2001-02-18 06:54:07 +00:00
sbin Switch to using a struct xucred instead of a struct xucred when not 2001-02-18 13:30:20 +00:00
secure Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00
share Slight improvement to previous checkin. 2001-02-19 04:06:30 +00:00
sys Fixed a longstanding latency bug in signal delivery. When a signal 2001-02-19 09:40:58 +00:00
tools Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
usr.bin Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00
usr.sbin ${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS" 2001-02-19 04:43:21 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Cosmetic fix: Document targets at the top in a uniform way. 2001-02-13 07:47:41 +00:00
Makefile.inc1 Removed some garbage (genassym(8) and its infrastructure). 2001-02-17 06:06:14 +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 Sigh. Add note about the FILE FIASCO. 2001-02-12 21:16:37 +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