freebsd kernel with SKQ
Go to file
ariff 063f9c01c6 MEGA Fixes / Cleanup
--------------------

- Seal the fate of long standing memory leak (4 years, 7 months) during
  pcm_unregister(). While destroying cdevs, scan / detect possible
  children and free its SLIST placeholder properly.
- Optimize channel allocation / numbering even further. Do brute cyclic
  checking only if the channel numbering screwed.
- Mega vchan create/destroy cleanup:
  o Implement pcm_setvchans() so everybody can use it freely instead
    of implementing their own, be it through sysctl or channel auto
    allocation.
  o Increase vchan creation/destruction resiliency:
    + it's possible to increase/decrease total vchans even during
      busy playback/recording. Busy channel will be left alone, untouched.
      Abusive test sample:
      # play whatever...
      #
         while : ; do
           sysctl hw.snd.pcm0.vchans=1
           sysctl hw.snd.pcm0.vchans=10
           sysctl hw.snd.pcm0.vchans=100
           sysctl hw.snd.pcm0.vchans=200
         done
      # Play something else, leave above loop running frantically.
    + Seal another 4 years old bug where it is possible to destroy (virtual)
      channel even when its cdevs being referenced by other process.
      The "First Come First Served" nature of dsp_clone() is the main
      culprit of this issue, and usually manifest itself as dangling
      channel <-> process association. Ensure that all of its cdevs
      are free from being referenced before destroying it (through
      ORPHAN_CDEVT() macross).

All these fixes (including previous fixes) will be MFCed, later.
2006-03-31 10:36:36 +00:00
bin Change the -S and -t options to override each other so that the last one 2006-03-24 17:09:03 +00:00
contrib Document authpf's requirement for a mounted fdescfs(5). 2006-03-28 15:26:16 +00:00
crypto Fix utmp. There is some clever logic in configure.ac which attempts to 2006-03-23 21:31:42 +00:00
etc Remove redundant ike rc.d script, since we do not have an IPsec IKE 2006-03-28 18:28:33 +00:00
games Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
gnu remove these vestiges of gdbserver.. It hasn't built in a long time, and 2006-03-31 00:37:42 +00:00
include Expose res_update and friends again. At least, ports/mail/spamilter 2006-03-30 20:15:53 +00:00
kerberos5 Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
lib Optimize runtime performance, primary using the following techniques: 2006-03-30 20:25:52 +00:00
libexec *thwack*! all the world's not i386. 2006-03-29 12:29:01 +00:00
release Autogenerate hardware notes for mfi(4). 2006-03-29 21:10:45 +00:00
rescue *sigh* 2006-03-27 12:56:29 +00:00
sbin Unbreak the build. 2006-03-27 05:33:35 +00:00
secure Add port-tun.c. 2006-03-22 20:42:05 +00:00
share o Add scc(4) to the build. 2006-03-30 18:39:24 +00:00
sys MEGA Fixes / Cleanup 2006-03-31 10:36:36 +00:00
tools Reflect progress in process title. 2006-03-27 10:29:12 +00:00
usr.bin Don't call audit_logout() if pwd is NULL, as audit_logout() attempts to 2006-03-28 15:30:42 +00:00
usr.sbin Currently, if writing out a log entry fails, we unlink that log entry from our 2006-03-30 21:04:52 +00:00
COPYRIGHT Happy new year, a little late 2006-01-15 22:06:10 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Add OpenBSM and src/sys/security/audit to the maintainer list. 2006-03-04 14:24:32 +00:00
Makefile Add the new "showconfig" target that displays build configuration. 2006-03-18 14:30:23 +00:00
Makefile.inc1 Rebuild gensnmptree(1) on 700014 systems too. While 700014 corresponds 2006-03-30 13:50:48 +00:00
ObsoleteFiles.inc Remove redundant ike rc.d script, since we do not have an IPsec IKE 2006-03-28 18:28:33 +00:00
README Add a note explaining what the rescue/ directory is for. 2006-03-01 20:14:55 +00:00
UPDATING Document new world older for world/kernel build options. 2006-03-21 10:10:05 +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/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