freebsd kernel with SKQ
Go to file
glebius 63cd1c131a A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES().
o With new KPI consumers can request contiguous ranges of pages, and
  unlike before, all pages will be kept busied on return, like it was
  done before with the 'reqpage' only. Now the reqpage goes away. With
  new interface it is easier to implement code protected from race
  conditions.

  Such arrayed requests for now should be preceeded by a call to
  vm_pager_haspage() to make sure that request is possible. This
  could be improved later, making vm_pager_haspage() obsolete.

  Strenghtening the promises on the business of the array of pages
  allows us to remove such hacks as swp_pager_free_nrpage() and
  vm_pager_free_nonreq().

o New KPI accepts two integer pointers that may optionally point at
  values for read ahead and read behind, that a pager may do, if it
  can. These pages are completely owned by pager, and not controlled
  by the caller.

  This shifts the UFS-specific readahead logic from vm_fault.c, which
  should be file system agnostic, into vnode_pager.c. It also removes
  one VOP_BMAP() request per hard fault.

Discussed with:	kib, alc, jeff, scottl
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix
2015-12-16 21:30:45 +00:00
bin sh: Fix use-after-free when attempting to modify a read-only variable. 2015-12-16 20:33:47 +00:00
cddl Add a trailing newline to the expected output for tst.walltimestamp.ksh. 2015-12-07 21:59:10 +00:00
contrib lldb(1): Document core file option -c / -core 2015-12-16 03:59:54 +00:00
crypto Merge OpenSSL 1.0.2e. 2015-12-03 21:13:35 +00:00
etc Integrate tools/regression/lib/libc/nss into the FreeBSD test suite as 2015-12-16 08:09:03 +00:00
gnu Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
include resolver: preserve binary compatibility; reduce header pollution 2015-12-14 17:21:06 +00:00
kerberos5 DIRDEPS_BUILD: Update dependencies. 2015-12-07 23:53:01 +00:00
lib pxeboot: make the tftp loader use the option root-path directive 2015-12-16 17:13:09 +00:00
libexec Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
release Fix tmpfs(5) '/tmp' mount point. 2015-11-25 19:10:04 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Add flag to disable inital reboot(8) userland sync 2015-12-15 14:17:07 +00:00
secure Build engines in parallel. 2015-12-15 19:57:56 +00:00
share A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES(). 2015-12-16 21:30:45 +00:00
sys A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES(). 2015-12-16 21:30:45 +00:00
targets local.meta.sys.mk already defines TARGET_ARCHES_arm 2015-12-08 00:22:24 +00:00
tests Add ATF_REQUIRE_FEATURE and PLAIN_REQUIRE_FEATURE macros for 2015-12-16 05:44:53 +00:00
tools Remove lldb(1) files if WITHOUT_LLDB is set 2015-12-16 19:48:03 +00:00
usr.bin Start on a new library (libsysdecode) that provides routines for decoding 2015-12-15 00:05:07 +00:00
usr.sbin Build mount_smbfs for arm. Also sort the subdirs. 2015-12-16 15:26:31 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint
COPYRIGHT
LOCKS
MAINTAINERS Keep maintainance of GELI and make it clear which directories I'm interested in. 2015-12-16 01:05:50 +00:00
Makefile Update advice on obj disk space requirements 2015-12-14 19:20:18 +00:00
Makefile.inc1 Follow-up r290423: Don't use CSH for buildenv shell. 2015-12-14 23:25:31 +00:00
ObsoleteFiles.inc Correct r291591: Don't remove /usr/lib/libelf*, these are still installed. 2015-12-01 16:16:40 +00:00
README Import OpenSSL 1.0.2e. 2015-12-03 17:22:58 +00:00
UPDATING pxeboot: make the tftp loader use the option root-path directive 2015-12-16 17:13:09 +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.  See build(7)
and 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.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

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 kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


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.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

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