1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
John Baldwin 78a1485fd1 Fixes for alpha pmap on SMP machines:
- Create a private list of active pmaps rather than abusing the list of all
  processes when we need to look up pmaps.  The process list needs a sx lock
  and we can't be getting sx locks in the middle of cpu_switch()
  (pmap_activate() can call pmap_get_asn() from cpu_switch()).  Instead, we
  protect the list with a spinlock.  This also means the list is shorter
  since a pmap can be used by more than one process and we could (at least
  in thoery) dink with pmap's more than once, but now we only touch each
  pmap once when we have to update all of them.
- Wrap pmap_activate()'s code to get a new ASN in an explicit critical section
  so that when it is called while doing an exec() we can't get preempted.
- Replace splhigh() in pmap_growkernel() with a critical section to prevent
  preemption while we are adjusting the kernel page tables.
- Fixes abuse of PCPU_GET(), which doesn't return an L-value.
- Also adds some slight cleanups to the ASN handling by adding some macros
  instead of magic numbers in relation to the ASN and ASN generations.

Reviewed by:	dfr
2002-02-06 04:30:26 +00:00
bin Fix the race between the stat() and the mkdir(). 2002-02-05 21:55:12 +00:00
contrib Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.{5,13} (ELF, and objformat support); 2002-02-06 02:53:38 +00:00
crypto Don't use non-signal-safe functions (exit(3) in this case) in 2002-02-05 15:20:02 +00:00
etc Add the MTA users 'mailnull' and 'smmp'. 2002-02-04 15:12:06 +00:00
games Don't declare our own common version of the library variable `ospeed'. 2002-02-02 09:50:45 +00:00
gnu I missed adding a file that was needed on the Alpha (and will be needed 2002-02-04 17:06:30 +00:00
include Fix cc -Wall, fix rcsid warnings, add missing prototypes, 2002-02-05 23:43:43 +00:00
kerberos5
kerberosIV
lib balance parens. 2002-02-05 23:56:29 +00:00
libexec Fix minor disorder in functions declared in extern.h 2002-02-05 21:07:47 +00:00
release MFen (1.272 --> 1.275). 2002-02-05 02:23:14 +00:00
sbin Match the requirements of the new kernel structures. 2002-02-04 19:24:43 +00:00
secure Update list of manpages 2002-01-27 03:36:57 +00:00
share Update the physio man page to better reflect reality. 2002-02-05 21:32:57 +00:00
sys Fixes for alpha pmap on SMP machines: 2002-02-06 04:30:26 +00:00
tools * fix some warnings 2002-02-04 16:17:19 +00:00
usr.bin The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks 2002-02-05 19:26:04 +00:00
usr.sbin Make cron actually build without defining LOGIN_CAP. 2002-02-06 02:00:07 +00:00
COPYRIGHT
Makefile
Makefile.inc1
Makefile.upgrade
README
UPDATING Add info about sppp and fd changes in December to current. 2002-01-27 07:00:25 +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