mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
vm_page_dirty() when, in fact, we are write protecting the page and the L3 entry has PTE_D set. However, pmap_protect() was always calling vm_page_dirty() when an L2 entry has PTE_D set. Handle L2 entries the same as L3 entries so that we won't perform unnecessary calls to vm_page_dirty(). Simplify the loop calling vm_page_dirty() on L2 entries. |
||
|---|---|---|
| .. | ||
| conf | ||
| include | ||
| riscv | ||