/[base]
ViewVC logotype

Revision 352517


Jump to revision: Previous Next
Author: alc
Date: Thu Sep 19 14:36:30 2019 UTC (4 years, 9 months ago)
Changed paths: 3
Log Message:
MFC r349526:

When we protect PTEs (as opposed to PDEs), we only call vm_page_dirty()
when, in fact, we are write protecting the page and the PTE has PG_M set.
However, pmap_protect_pde() was always calling vm_page_dirty() when the PDE
has PG_M set.  So, adding PG_NX to a writeable PDE could result in
unnecessary (but harmless) calls to vm_page_dirty().

Simplify the loop calling vm_page_dirty() in pmap_protect_pde().


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/sys/amd64/amd64/pmap.c modified , text changed
Directorystable/12/sys/i386/i386/pmap.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27