freebsd-dev/sys/mips
Alan Cox c99b7cc5c9 Don't set PG_WRITEABLE in init_pte_prot() (and thus pmap_enter()) unless
the page is managed.

Don't set the machine-independent layer's dirty field for the page being
mapped in init_pte_prot().  (The dirty field is only supposed to set when
a mapping is removed or write-protected and the page was managed and
modified.)

Determine whether or not to perform dirty bit emulation based on whether
or not the page is managed, i.e., pageable, not based on whether the page
is being mapped into the kernel address space.  Nearly all of the kernel
address space consists of unmanaged pages, so this has neglible impact on
the overhead of dirty bit emulation for the kernel address space.  However,
there can also exist unmanaged pages in the user address space.  Previously,
dirty bit emulation was unnecessarily performed on these pages.

Tested by:	jchandra@
2010-06-06 06:07:44 +00:00
..
adm5120 Remove some stray ';'s 2010-05-13 01:50:29 +00:00
alchemy Hack to make ALCHEMY compile again... 2010-02-18 19:41:38 +00:00
atheros Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cavium Remove redundant checking of sc_leaving (uart_intr() already handles this). 2010-05-02 19:07:19 +00:00
compile
conf This pushes all of JC's patches that I have in place. I 2010-05-16 19:43:48 +00:00
idt - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
include Get rid of empty and unused KSEG0TEXT macros. 2010-05-25 05:45:16 +00:00
malta Fix MALTA64 build. 2010-04-19 09:03:34 +00:00
mips Don't set PG_WRITEABLE in init_pte_prot() (and thus pmap_enter()) unless 2010-06-06 06:07:44 +00:00
rmi Remove unused code in sys/mips/rmi : 2010-05-24 06:01:37 +00:00
sentry5 - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
sibyte Fix Sibyte SMP kernel breakage caused by r208249. 2010-05-18 05:12:54 +00:00