1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
Alan Cox 6bbee8e28a Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this
option to vm_object_page_remove() asserts that the specified range of pages
is not mapped, or more precisely that none of these pages have any managed
mappings.  Thus, vm_object_page_remove() need not call pmap_remove_all() on
the pages.

This change not only saves time by eliminating pointless calls to
pmap_remove_all(), but it also eliminates an inconsistency in the use of
pmap_remove_all() versus related functions, like pmap_remove_write().  It
eliminates harmless but pointless calls to pmap_remove_all() that were being
performed on PG_UNMANAGED pages.

Update all of the existing assertions on pmap_remove_all() to reflect this
change.

Reviewed by:	kib
2011-06-29 16:40:41 +00:00
..
amd64 Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
arm Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
boot Revert the entry point label to 'start' to unbreak the build. 2011-06-27 21:43:56 +00:00
bsm
cam cam/scsi/scsi_cd.c: 2011-06-26 01:32:46 +00:00
cddl Add a new "REFCOMPRESSRATIO" property. 2011-06-28 07:52:01 +00:00
compat Return empty cmdline/environ string for processes with kernel address 2011-06-17 07:30:56 +00:00
conf We may split today's CAPABILITIES into CAPABILITY_MODE (which has 2011-06-29 13:03:05 +00:00
contrib Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
crypto
ddb Fix making kernel dumps from the debugger by creating a command 2011-06-07 01:28:12 +00:00
dev - Add read-only sysctls for all of the tunables supported by the igb and 2011-06-29 16:20:52 +00:00
fs Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
gdb
geom Initialize elements of state array when creating the GPT table. 2011-06-29 05:41:14 +00:00
gnu Fix typo in unused function name 2011-05-22 09:58:48 +00:00
i386 Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
ia64 Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
isa Move VT switching hack for suspend/resume from bus drivers to syscons.c 2011-05-09 18:46:49 +00:00
kern Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
kgssapi Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
libkern
mips Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
modules Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
net Update ifc_len field of struct ifconf passed for the ioctl SIOCGIFCONF32 2011-06-28 08:41:44 +00:00
net80211 Print out a big warning if DFS can't find a channel to use. 2011-06-27 05:57:14 +00:00
netatalk
netgraph - Move all USB device ID arrays into so-called sections, 2011-06-24 02:30:02 +00:00
netinet Add new rule actions "call" and "return" to ipfw. They make 2011-06-29 10:06:58 +00:00
netinet6 Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
netipsec Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
netipx
netnatm
netncp
netsmb
nfs Set proper root device name when legacy NFS client is compiled into kernel. 2011-06-29 15:17:29 +00:00
nfsclient Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
nfsserver Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
nlm Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00
ofed MFC 2011-05-27 16:09:10 +00:00
opencrypto
pc98 - Reduce diffs against i386. 2011-06-13 13:24:33 +00:00
pci
powerpc Add better error handling for RTAS calls. These can potentially cause 2011-06-26 16:11:36 +00:00
rpc Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
security
sparc64 Fix whitespace 2011-06-21 20:50:55 +00:00
sys add SNDCTL_DSP_HALT specified by OSS 2011-06-29 08:32:37 +00:00
teken Fix various whitespace inconsistencies in sys/teken. 2011-06-26 18:25:10 +00:00
tools
ufs Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
vm Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
x86 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
xdr
xen Monitor and emit events for XenStore changes to XenBus trees 2011-06-11 04:59:01 +00:00
Makefile Include sys/xen in cscope tag file generation. 2011-06-10 20:51:41 +00:00