Revision ca71ba4d0cfcf5f7a8e9b24339547b5a72299f80 authored by John Baldwin on 26 January 2010, 20:58:09 UTC, committed by John Baldwin on 26 January 2010, 20:58:09 UTC
Optimize the cache flushing done when changing caching attributes of pages
by doing nothing for CPUs that support self-snooping and using CLFLUSH
instead of a full cache invalidate when possible.
- On i386 take care of possible mappings of the page by sf buffer by
  utilizing the mapping for clflush, otherwise map the page transiently.
  Amd64 uses the direct map.
- Do not use CLFLUSH on Intel CPUs due to problems with flushing the local
  APIC range by default.  This can be further controlled via the
  hw.clflush_disable loader tunable.  A setting of 1 disables the
  use of CLFLUSH.  A setting of 0 allows CLFLUSH to be used for Intel
  CPUs when CPUID_SS is not present.

Approved by:	re (kib)
1 parent a6a19cb
History
File Mode Size
DAEMON -rwxr-xr-x 178 bytes
FILESYSTEMS -rw-r--r-- 344 bytes
LOGIN -rwxr-xr-x 342 bytes
Makefile -rwxr-xr-x 1.4 KB
NETWORKING -rw-r--r-- 272 bytes
SERVERS -rwxr-xr-x 180 bytes
abi -rw-r--r-- 927 bytes
accounting -rwxr-xr-x 885 bytes
addswap -rw-r--r-- 479 bytes
adjkerntz -rw-r--r-- 226 bytes
amd -rwxr-xr-x 918 bytes
apm -rw-r--r-- 561 bytes
apmd -rwxr-xr-x 722 bytes
archdep -rw-r--r-- 622 bytes
atm1 -rw-r--r-- 4.0 KB
atm2 -rw-r--r-- 2.5 KB
atm3 -rw-r--r-- 2.3 KB
auditd -rw-r--r-- 514 bytes
auto_linklocal -rw-r--r-- 513 bytes
bgfsck -rw-r--r-- 828 bytes
bluetooth -rw-r--r-- 9.1 KB
bootparams -rwxr-xr-x 266 bytes
bridge -rw-r--r-- 2.2 KB
bsnmpd -rw-r--r-- 250 bytes
bthidd -rw-r--r-- 594 bytes
ccd -rwxr-xr-x 268 bytes
cleanvar -rw-r--r-- 1.2 KB
cleartmp -rwxr-xr-x 1.6 KB
cron -rwxr-xr-x 321 bytes
ddb -rw-r--r-- 463 bytes
devd -rw-r--r-- 392 bytes
devfs -rw-r--r-- 1.3 KB
dhclient -rwxr-xr-x 1.1 KB
dmesg -rwxr-xr-x 365 bytes
dumpon -rw-r--r-- 1.0 KB
early.sh -rw-r--r-- 323 bytes
encswap -rw-r--r-- 1.1 KB
fsck -rwxr-xr-x 1.2 KB
ftp-proxy -rw-r--r-- 212 bytes
ftpd -rw-r--r-- 325 bytes
gbde -rw-r--r-- 2.1 KB
geli -rw-r--r-- 2.6 KB
geli2 -rw-r--r-- 1.9 KB
hcsecd -rw-r--r-- 398 bytes
hostapd -rw-r--r-- 384 bytes
hostid -rw-r--r-- 2.7 KB
hostname -rw-r--r-- 2.5 KB
idmapd -rw-r--r-- 260 bytes
inetd -rwxr-xr-x 305 bytes
initrandom -rw-r--r-- 1.7 KB
ip6addrctl -rw-r--r-- 1.5 KB
ip6fw -rw-r--r-- 981 bytes
ipfilter -rwxr-xr-x 2.1 KB
ipfs -rwxr-xr-x 977 bytes
ipfw -rw-r--r-- 1.5 KB
ipmon -rwxr-xr-x 634 bytes
ipnat -rwxr-xr-x 500 bytes
ipsec -rwxr-xr-x 1.0 KB
ipxrouted -rw-r--r-- 258 bytes
isdnd -rw-r--r-- 952 bytes
jail -rw-r--r-- 16.6 KB
kadmind -rw-r--r-- 290 bytes
kerberos -rw-r--r-- 251 bytes
keyserv -rw-r--r-- 467 bytes
kldxref -rw-r--r-- 603 bytes
kpasswdd -rw-r--r-- 289 bytes
ldconfig -rwxr-xr-x 1.7 KB
local -rwxr-xr-x 473 bytes
localpkg -rw-r--r-- 1.1 KB
lockd -rw-r--r-- 882 bytes
lpd -rwxr-xr-x 380 bytes
mdconfig -rw-r--r-- 5.0 KB
mdconfig2 -rw-r--r-- 5.8 KB
mixer -rw-r--r-- 2.4 KB
motd -rwxr-xr-x 916 bytes
mountcritlocal -rwxr-xr-x 914 bytes
mountcritremote -rwxr-xr-x 1.4 KB
mountd -rwxr-xr-x 972 bytes
mountlate -rw-r--r-- 646 bytes
moused -rw-r--r-- 1.6 KB
mroute6d -rw-r--r-- 215 bytes
mrouted -rwxr-xr-x 314 bytes
msgs -rw-r--r-- 229 bytes
named -rwxr-xr-x 7.0 KB
natd -rw-r--r-- 714 bytes
netif -rw-r--r-- 3.8 KB
netoptions -rw-r--r-- 1.3 KB
network_ipv6 -rw-r--r-- 3.6 KB
newsyslog -rwxr-xr-x 388 bytes
nfsclient -rw-r--r-- 896 bytes
nfsd -rwxr-xr-x 817 bytes
nfsserver -rw-r--r-- 262 bytes
nisdomain -rw-r--r-- 1.7 KB
nscd -rw-r--r-- 1.0 KB
nsswitch -rw-r--r-- 2.5 KB
ntpd -rwxr-xr-x 1.2 KB
ntpdate -rwxr-xr-x 584 bytes
othermta -rw-r--r-- 292 bytes
pf -rw-r--r-- 1.2 KB
pflog -rw-r--r-- 876 bytes
pfsync -rw-r--r-- 926 bytes
power_profile -rw-r--r-- 2.0 KB
powerd -rw-r--r-- 370 bytes
ppp -rw-r--r-- 2.2 KB
pppoed -rw-r--r-- 530 bytes
pwcheck -rwxr-xr-x 389 bytes
quota -rwxr-xr-x 546 bytes
random -rw-r--r-- 1.7 KB
rarpd -rwxr-xr-x 284 bytes
resolv -rw-r--r-- 1.9 KB
rfcomm_pppd_server -rw-r--r-- 2.3 KB
root -rwxr-xr-x 684 bytes
route6d -rwxr-xr-x 542 bytes
routed -rwxr-xr-x 436 bytes
routing -rw-r--r-- 2.1 KB
rpcbind -rwxr-xr-x 230 bytes
rtadvd -rwxr-xr-x 1.6 KB
rwho -rwxr-xr-x 218 bytes
savecore -rwxr-xr-x 1.2 KB
sdpd -rw-r--r-- 411 bytes
securelevel -rwxr-xr-x 459 bytes
sendmail -rwxr-xr-x 2.4 KB
serial -rw-r--r-- 5.0 KB
sppp -rw-r--r-- 768 bytes
sshd -rwxr-xr-x 2.2 KB
statd -rw-r--r-- 880 bytes
static_arp -rw-r--r-- 2.1 KB
swap1 -rwxr-xr-x 198 bytes
syscons -rw-r--r-- 4.4 KB
sysctl -rw-r--r-- 872 bytes
syslogd -rwxr-xr-x 1.4 KB
timed -rwxr-xr-x 224 bytes
tmp -rw-r--r-- 2.0 KB
ugidfw -rw-r--r-- 620 bytes
var -rw-r--r-- 3.0 KB
virecover -rwxr-xr-x 1.5 KB
watchdogd -rw-r--r-- 1.6 KB
wpa_supplicant -rw-r--r-- 525 bytes
ypbind -rwxr-xr-x 572 bytes
yppasswdd -rwxr-xr-x 735 bytes
ypserv -rwxr-xr-x 657 bytes
ypset -rw-r--r-- 684 bytes
ypupdated -rw-r--r-- 690 bytes
ypxfrd -rw-r--r-- 702 bytes
zfs -rw-r--r-- 1.3 KB

back to top