freebsd kernel with SKQ
Go to file
cem a15dada94b pmap_invalidate_range: For very large ranges, flush the whole TLB
Typical TLBs have 40-512 entries available.  At some point, iterating
every single page in a requested invalidation range and issuing invlpg
on it is more expensive than flushing the TLB and allowing it to reload
on demand.

Broadwell CPUs have 1536 L2 TLB entries, so I've picked the arbitrary
number 4096 entries as a hueristic at which point we flush TLB rather
than invalidating every single potential page.

Reviewed by:	alc
Feedback from:	jhb, kib
MFC notes:	Depends on r291688
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D4280
2015-12-06 17:39:13 +00:00
bin sh: Add limited test for ${#@} and ${#*}. 2015-12-06 14:09:31 +00:00
cddl Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
contrib Add clang patch corresponding to r291701. 2015-12-04 17:23:19 +00:00
crypto Merge OpenSSL 1.0.2e. 2015-12-03 21:13:35 +00:00
etc rc.subr: Check for running daemons before a custom start_cmd is executed. 2015-12-04 16:32:29 +00:00
gnu Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
include Move obscure lib/ installation of /usr/lib/include symlink to include/. 2015-12-04 03:18:02 +00:00
kerberos5 META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
lib Fix regression in r291738: This really wants -lssp. 2015-12-05 18:56:21 +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 Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
secure Merge OpenSSL 1.0.2e. 2015-12-03 21:13:35 +00:00
share Remove unused atf.test.mk variables 2015-12-06 07:30:18 +00:00
sys pmap_invalidate_range: For very large ranges, flush the whole TLB 2015-12-06 17:39:13 +00:00
targets rescue/rescue does not yet build in meta mode. 2015-12-03 22:40:42 +00:00
tests Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
tools When building no-priv, chmod etc/defaults/rc.conf before appending to 2015-12-05 17:40:11 +00:00
usr.bin Remove disconnected directory RETEST. 2015-12-04 05:00:51 +00:00
usr.sbin Adapt to new wireless scheme where base wlan interfaces do not show up in 2015-12-06 00:20:45 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2014-12-31 10:00:43 +00:00
LOCKS
MAINTAINERS Move recently added entry above the "old" line. 2015-11-17 19:03:55 +00:00
Makefile Import OpenSSL 1.0.2e. 2015-12-03 17:22:58 +00:00
Makefile.inc1 bsd.subdir.mk: Only recurse on called targets, rather than dependencies. 2015-12-02 01:50:22 +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 Fix errors being ignored in many phases of the build since the bmake integration. 2015-12-01 19:00:43 +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