gber 3b133de3e5 Fix modified bit emulation for ARMv6/v7
When doing pmap_enter_locked(), enable write permission only when access
type indicates attempt to write. Otherwise, leave the page read only but
mark it writable in pv_flags.

This will result in:
1. Marking page writable during pmap_enter() but only when ensured that it
   will be written right away so that we will not get redundant permissions
   fault on write attempt.
2. Keeping page read only when it is permitted to be written but there was
   no actual write attempt. Hence, we will get permissions fault on write
   access and mark page writable in pmap_fault_fixup() what will indicate
   modification status.

Submitted by:   Zbigniew Bodek <zbb@semihalf.com>
Sponsored by:   The FreeBSD Foundation, Semihalf
2013-07-04 10:38:14 +00:00
..
2013-06-08 13:30:13 +00:00
2013-07-03 10:31:45 +00:00
2013-07-03 07:31:07 +00:00
2013-05-12 16:43:26 +00:00
2013-07-03 18:48:43 +00:00
2013-06-01 12:21:59 +00:00
2013-04-17 11:45:15 +00:00
2013-07-02 07:17:56 +00:00
MFC
2013-02-21 21:59:35 +00:00
2013-06-18 06:55:58 +00:00
MFC
2013-03-13 01:05:42 +00:00