freebsd kernel with SKQ
Go to file
Peter Wemm 9a3b3e8bce Clean up the SMP AP bootstrap and eliminate the wretched idle procs.
- We now have enough per-cpu idle context, the real idle loop has been
revived (cpu's halt now with nothing to do).
- Some preliminary support for running some operations outside the
global lock (eg: zeroing "free but not yet zeroed pages") is present
but appears to cause problems.  Off by default.
- the smp_active sysctl now behaves differently. It's merely a 'true/false'
option.  Setting smp_active to zero causes the AP's to halt in the idle
loop and stop scheduling processes.
- bootstrap is a lot safer.  Instead of sharing a statically compiled in
stack a number of times (which has caused lots of problems) and then
abandoning it, we use the idle context to boot the AP's directly.  This
should help >2 cpu support since the bootlock stuff was in doubt.
- print physical apic id in traps.. helps identify private pages getting
out of sync.  (You don't want to know how much hair I tore out with this!)

More cleanup to follow, this is more of a checkpoint than a
'finished' thing.
1997-08-26 18:10:38 +00:00
bin Restored clobbered parts of rev.1.15 (build intermediate object files 1997-08-25 19:50:01 +00:00
contrib I clamined to not have imported cpio.texi. This is not true. 1997-08-25 09:11:06 +00:00
crypto Bring in the Starter files for the contrib-crypto dir. 1997-05-03 09:16:07 +00:00
eBones Remove some bogus malloc family declarations. 1997-07-13 23:45:34 +00:00
etc Add examples of "!bg", "add 0 0 HISADDR" in ppp.conf 1997-08-25 01:07:08 +00:00
games minor fortune fixes: 1997-08-23 10:35:16 +00:00
gnu .Ar -l -> .Fl l 1997-08-23 21:59:41 +00:00
include Removed ifndef of AUTH_NONE. The conflict with login_cap.h was fixed 1997-08-21 19:31:04 +00:00
lib -I${DESTDIR}/sys -> -I${.CURDIR}/../../sys. 1997-08-26 14:13:02 +00:00
libexec Fix description of -t option. 1997-08-24 18:21:34 +00:00
lkm Removed bogus -I path in CFLAGS. 1997-08-26 13:49:26 +00:00
release -I/sys -> ${.CURDIR}/../../sys. This should finish replacing /sys by 1997-08-26 14:13:50 +00:00
sbin .Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org> 1997-08-26 00:32:06 +00:00
secure
share Fixed cleandepend target. Subdirectories weren't handled unless SRCS 1997-08-26 16:54:33 +00:00
sys Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
tools Split beforeinstall target so that headers can be installed without 1997-08-21 16:14:34 +00:00
usr.bin Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
usr.sbin -I/sys -> ${.CURDIR}/../../sys. This should finish replacing /sys by 1997-08-26 14:13:50 +00:00
COPYRIGHT
Makefile Remove unneeded ${.MAKEFLAGS} being explicitly passed on via the command 1997-08-26 14:15:25 +00:00
README Note that /etc is not installed by world target either. 1997-08-09 14:36:20 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.10 1997/02/23 09:18:39 peter 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.

eBones		Kerberos package - NOT FOR EXPORT!

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.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

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