mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
There's no need to call pmap_vac_me_harder() in pmap_protect(), as it
already happened in pmap_modify_pv(). Submitted by: Mark Tinguely <tinguely AT casselton DOT net>
This commit is contained in:
parent
6029ad9932
commit
c8ffd860a5
1 changed files with 0 additions and 1 deletions
|
|
@ -3277,7 +3277,6 @@ pmap_protect(pmap_t pm, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot)
|
|||
if (pg != NULL) {
|
||||
f = pmap_modify_pv(pg, pm, sva,
|
||||
PVF_WRITE, 0);
|
||||
pmap_vac_me_harder(pg, pm, sva);
|
||||
vm_page_dirty(pg);
|
||||
} else
|
||||
f = PVF_REF | PVF_EXEC;
|
||||
|
|
|
|||
Loading…
Reference in a new issue