freebsd kernel with SKQ
Go to file
Alan Cox 77cb6e6f8d Correctly maintain the per-cpu field "curpmap" on amd64 just like we
do on i386.  The consequences of not doing so on amd64 became apparent
with the introduction of the COUNT_IPIS and COUNT_XINVLTLB_HITS
options.  Specifically, single-threaded applications were generating
unnecessary IPIs to shoot-down the TLB on other processors.  However,
this is clearly nonsensical because a single-threaded application is
only running on the current processor.  The reason that this happens
is that pmap_activate() is unable to properly update the old pmap's
field "pm_active" without the correct "curpmap".  So, in effect, stale
bits in "pm_active" were leading pmap_protect(), pmap_remove(),
pmap_remove_pages(), etc. to flush the TLB contents on some arbitrary
processor that wasn't even running the same application.

Reviewed by:	kib
MFC after:	3 weeks
2010-07-08 03:35:00 +00:00
bin sh: Use $PWD instead of getcwd() for the \w and \W prompt expansions. 2010-07-02 22:17:13 +00:00
cddl - Add support for the "sec" option to "zfs set sharenfs" 2010-07-07 07:09:33 +00:00
contrib readelf.1: remove duplicate -u/--unwind option description 2010-06-22 07:31:05 +00:00
crypto More commas 2010-06-01 22:46:57 +00:00
etc Use spaces, not tabs. 2010-06-28 08:05:30 +00:00
games Taken from actual police videos ... 2010-06-26 07:02:31 +00:00
gnu Mention the radiolist option in the man page. It is being listed when 2010-07-06 18:06:10 +00:00
include o addr2ascii(3) was removed ages ago. Fix the comment. 2010-07-06 03:48:46 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib If a user calls sctp_sendx() with a NULL 2010-07-07 11:19:06 +00:00
libexec Revert r209544. It papers over a binutils bug, and is not even a reliable 2010-06-28 01:40:56 +00:00
release Remove an unnecessary cat. 2010-06-19 09:33:11 +00:00
rescue Enable liblzma support in libarchive 2010-05-10 15:28:44 +00:00
sbin When dhclient obtains a lease, it runs dhclient-script and expects 2010-07-07 06:06:54 +00:00
secure Regenerate manual pages for OpenSSL 0.9.8n. 2010-04-01 15:37:38 +00:00
share Also install the new bsd.arch.inc.mk filed. Missed in r204020. 2010-07-06 18:07:56 +00:00
sys Correctly maintain the per-cpu field "curpmap" on amd64 just like we 2010-07-08 03:35:00 +00:00
tools Use canonical spelling of FreeBSD.org 2010-07-06 19:43:40 +00:00
usr.bin Fix an error in the EXAMPLES section of getopt(1), which is based on 2010-07-07 17:44:09 +00:00
usr.sbin Remove the ability to upgrade via sysinstall. This feature has been flaky 2010-07-08 03:28:25 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Add a comment to MAINTAINERS indicating that sbin/routed is in fact 2010-04-10 12:29:09 +00:00
Makefile Connect FDT infrastructure to the build system. 2010-06-13 13:02:43 +00:00
Makefile.inc1 Merge from tbemd: 2010-06-24 17:53:25 +00:00
Makefile.mips Merge from TBEMD: 2010-06-24 16:28:52 +00:00
ObsoleteFiles.inc <machine/intr.h> removed on powerpc. 2010-07-02 02:20:25 +00:00
README
UPDATING Note 8.0-RELEASE. 2010-05-12 21:20:04 +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 ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

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/doc/en_US.ISO8859-1/books/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.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

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/doc/en_US.ISO8859-1/books/handbook/synching.html