freebsd kernel with SKQ
Go to file
loos 21e0cf5c4b MFC r286140:
Remove the sleep from the buffer allocation routine.

  The buffer must be allocated (or even changed) before the interface is set
  and thus, there is no need to verify if the buffer is in use.

MFC r286142:
  Remove two unnecessary sleeps from the hot path in bpf(4).

  The first one never triggers because bpf_canfreebuf() can only be true for
  zero-copy buffers and zero-copy buffers are not read with read(2).

  The second also never triggers, because we check the free buffer before
  calling ROTATE_BUFFERS().  If the hold buffer is in use the free buffer
  will be NULL and there is nothing else to do besides drop the packet.  If
  the free buffer isn't NULL the hold buffer _is_ free and it is safe to
  rotate the buffers.

  Update the comment in ROTATE_BUFFERS macro to match the logic described
  here.

  While here fix a few typos in comments.

MFC r286243:
  Add a KASSERT() to make sure we wont rotate the buffers twice (rotate the
  buffers while the hold buffer is in use).

  Sponsored by: Rubicon Communications (Netgate)
2015-08-17 18:43:39 +00:00
bin MFC r284779: sh: Fix some arithmetic undefined behaviour. 2015-08-15 19:58:00 +00:00
cddl MFC r286092: 2015-08-03 16:30:03 +00:00
contrib MFC of 286750,tzdata10: 2015-08-13 23:59:53 +00:00
crypto Fix patch(1) shell injection vulnerability. [SA-15:14] 2015-07-28 19:58:44 +00:00
etc MFC r257077: 2015-08-11 16:01:34 +00:00
games MFC: r269089: 2015-04-16 00:29:49 +00:00
gnu MFC r285041: 2015-08-05 07:21:44 +00:00
include MFC r275805: 2015-04-30 16:08:47 +00:00
kerberos5 MFC: r284578 2015-06-22 16:24:27 +00:00
lib MFC r286582: 2015-08-17 18:34:54 +00:00
libexec MFC 284709: 2015-06-30 19:53:26 +00:00
release Document an error in the release notes regarding revision r282199. 2015-08-16 12:09:55 +00:00
rescue MFC sa(4) and mt(1) improvements. 2015-03-24 14:36:10 +00:00
sbin MFC r270064,r270068,r270069,r270115,r270129,r270287,r270822,r271014, 2015-08-15 17:52:55 +00:00
secure MFC: r285329 2015-07-09 17:17:22 +00:00
share MFC r286516: Document kern.cam.ctl.debug sysctl. 2015-08-16 00:36:48 +00:00
sys MFC r286140: 2015-08-17 18:43:39 +00:00
tests Merge r285891: 2015-08-11 01:51:38 +00:00
tools MFC 256710: 2015-08-11 15:53:11 +00:00
usr.bin MFC r285842: truss: follow pdfork()ed descendents with -f 2015-08-14 21:44:42 +00:00
usr.sbin MFC r286456: Remove some code duplication. 2015-08-15 11:08:30 +00:00
COPYRIGHT MFC r276462: 2014-12-31 10:03:19 +00:00
LOCKS Explicitly require Security Officer's approval for kernel PRNG bits. 2013-09-17 14:19:05 +00:00
MAINTAINERS MFH (r263160): remove lukemftpd 2014-08-23 15:07:09 +00:00
Makefile MFC r270155, r274490, r274593, r274607 2015-04-21 17:02:55 +00:00
Makefile.inc1 MFC r262670 (marcel): 2015-08-13 22:29:26 +00:00
ObsoleteFiles.inc MFC r257077: 2015-08-11 16:01:34 +00:00
README Add the cddl/ directory. 2010-11-14 11:32:56 +00:00
UPDATING MFC: r285946 and r285947 2015-07-31 09:43:07 +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.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

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