freebsd-nq/sys
Alan Cox f274a47134 Fix two problems with pmap_clear_modify().
First, pmap_clear_modify() is write protecting all mappings to the specified
page, not just clearing the modified bit.  Specifically, it sets PTE_RO on
the PTE, which is wrong.  Moreover, it is calling vm_page_dirty(), which is
not the expected behavior for pmap_clear_modify().  Generally speaking, the
machine-independent VM layer masks these mistakes.  For example, setting
PTE_RO will result in additional soft faults, but not a catastrophe.

Second, pmap_clear_modify() may not clear the modified bits because it only
iterates over the PV list when the page has the PV_TABLE_MOD flag set and
elsewhere the pmap clears the PV_TABLE_MOD flag anytime a modified mapping
is write protected or destroyed.  However, the page may still have other
mappings with the modified bit set.

Eliminate a stale comment.
2012-08-17 05:02:29 +00:00
..
amd64 As discussed on -current, remove the hardcoded default maxswzone. 2012-08-14 17:01:21 +00:00
arm The GPIO drivers were initialising their mutexes with type of 2012-08-17 04:44:57 +00:00
boot Add comment why the code has been disabled. 2012-08-16 06:45:58 +00:00
bsm
cam 1. Remove SEN support. I doubt there are any working examples 2012-08-12 17:01:07 +00:00
cddl Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
compat regen. 2012-08-17 02:47:16 +00:00
conf Merge ACPICA 20120816. 2012-08-16 20:54:52 +00:00
contrib Merge ACPICA 20120816. 2012-08-16 20:54:52 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Support for TCP DDP (Direct Data Placement) in the T4 TOE module. 2012-08-17 00:49:29 +00:00
fs Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Always initialize sc_ekey, because as of r238116 it is always used. 2012-08-10 18:43:29 +00:00
gnu/fs Just like the other file systems found in /sys/fs, g_vfs_open() 2012-08-01 23:05:57 +00:00
i386 As discussed on -current, remove the hardcoded default maxswzone. 2012-08-14 17:01:21 +00:00
ia64 Add locking for sscdisk(4) and mark it MPSAFE. Since this driver just 2012-08-16 17:17:08 +00:00
isa
kern regen. 2012-08-17 02:47:16 +00:00
kgssapi
libkern Fix unloading of libiconv module. 2012-06-11 17:42:39 +00:00
mips Fix two problems with pmap_clear_modify(). 2012-08-17 05:02:29 +00:00
modules Support for TCP DDP (Direct Data Placement) in the T4 TOE module. 2012-08-17 00:49:29 +00:00
net After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason 2012-08-05 14:11:42 +00:00
net80211 Fix an incorrect comparison. 2012-08-16 00:53:23 +00:00
netatalk
netgraph Remove duplicate check. 2012-08-03 12:55:31 +00:00
netinet The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP 2012-08-17 01:49:51 +00:00
netinet6 Fix races between in_lltable_prefix_free(), lla_lookup(), 2012-08-02 13:57:49 +00:00
netipsec Fix a bug introduced in r221129 that leads to a panic wen using bundled 2012-07-22 17:46:05 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb Change a duplicated check to clarify that we really want to set a 2012-07-10 21:02:59 +00:00
nfs - Typo fix 2012-08-16 19:22:34 +00:00
nfsclient Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
nfsserver
nlm Fix grammar. 2012-08-16 13:01:56 +00:00
ofed Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
opencrypto
pc98 Partially revert r217515 so that the mem_range_softc variable is always 2012-07-09 20:42:08 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Add backlight support for nVidia-based PowerBooks/iBooks/iMacs. 2012-08-04 03:05:01 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Merge r236494 from x86: 2012-08-05 22:03:13 +00:00
sys regen. 2012-08-17 02:47:16 +00:00
teken
tools
ufs After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason 2012-08-05 14:11:42 +00:00
vm - When running out of swzone, instead of spewing an error message every 2012-08-16 08:29:49 +00:00
x86 Merge ACPICA 20120816. 2012-08-16 20:54:52 +00:00
xdr
xen
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00