freebsd kernel with SKQ
Go to file
rstone 0dd3ce30eb In munmap() downgrade the vm_map_lock to a read lock before taking a read
lock on the pmc-sx lock.  This prevents a deadlock with
pmc_log_process_mappings, which has an exclusive lock on pmc-sx and tries
to get a read lock on a vm_map.  Downgrading the vm_map_lock in munmap
allows pmc_log_process_mappings to continue, preventing the deadlock.

Without this change I could cause a deadlock on a multicore 8.1-RELEASE
system by having one thread constantly mmap'ing and then munmap'ing a
PROT_EXEC mapping in a loop while I repeatedly invoked and stopped pmcstat
in system-wide sampling mode.

Reviewed by:	fabient
Approved by:	emaste (mentor)
MFC after:	2 weeks
2010-09-07 00:23:45 +00:00
bin sh: Improve comments in expand.c. 2010-09-05 21:12:48 +00:00
cddl Include <sys/sdt.h> on a generated header. 2010-09-01 11:27:09 +00:00
contrib Mark __DTOR_LIST__, __EH_FRAME_BEGIN__ and __CTOR_END__ as used to avoid 2010-08-26 13:04:16 +00:00
crypto More commas 2010-06-01 22:46:57 +00:00
etc Avoid to try to remove suj journal file (.sujournal) and conventional 2010-09-05 05:44:40 +00:00
games fix the move so that it matches what the rest of the internet 2010-09-03 03:20:34 +00:00
gnu Use a more robust way to substitute gcc for clang, when compiling 2010-08-31 17:33:29 +00:00
include Correct value for _POSIX_AIO_LISTIO_MAX in <limits.h>. 2010-08-29 22:22:15 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib Add ECONNRESET to list of possible errors in connect(2). 2010-09-06 21:39:54 +00:00
libexec Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
release sis(4) should work on all architectures now. 2010-09-06 11:02:50 +00:00
rescue MFtbemd: 2010-08-23 22:24:11 +00:00
sbin Document dhclient-enter-hooks and dhclient-exit-hooks and mention 2010-09-06 09:59:10 +00:00
secure Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
share Adds LOADER TUNABLES section to mention knobs which could be controlled 2010-09-06 22:23:35 +00:00
sys In munmap() downgrade the vm_map_lock to a read lock before taking a read 2010-09-07 00:23:45 +00:00
tools sh: Add a test that 'read' leaves the file pointer at the correct place. 2010-09-03 21:17:33 +00:00
usr.bin Fix typo in bsdcpio manual: 2010-09-06 20:40:38 +00:00
usr.sbin When an asm location cannot be resolved to a function the cost 2010-09-03 13:54:02 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS
MAINTAINERS Add a comment to MAINTAINERS indicating that sbin/routed is in fact 2010-04-10 12:29:09 +00:00
Makefile Update clang to r108243. 2010-07-13 17:21:42 +00:00
Makefile.inc1 Repair some build breakage introduced in r211725 and garbage collect some 2010-08-28 15:03:11 +00:00
Makefile.mips Guard against TARGET_ABI being undefined (TARGET_ABI will go away soon) 2010-08-26 14:54:12 +00:00
ObsoleteFiles.inc Tie up some loose ends r88509 left behind: 2010-08-15 21:25:52 +00:00
README
UPDATING Mention the removal of acpi_aiboost. 2010-07-25 18:32:59 +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