Alan Cox c134ef742f 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().

Reviewed by:	kib, markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D20793
2019-06-28 22:40:34 +00:00
..
2019-06-21 18:48:07 +00:00
2019-05-27 00:47:51 +00:00
2019-06-22 05:35:23 +00:00
2019-05-02 12:56:13 +00:00
2019-06-25 04:50:09 +00:00
2019-05-08 19:27:30 +00:00
2019-06-28 20:40:54 +00:00
2019-06-25 04:50:09 +00:00
2019-02-04 21:28:25 +00:00
2019-06-08 16:26:56 +00:00