o Remove an unnecessary vm_page_flash() from _pmap_unwire_pte_hold().
Reviewed by: peter
This commit is contained in:
parent
055c012332
commit
e9ed460af2
@ -1136,8 +1136,6 @@ _pmap_unwire_pte_hold(pmap_t pmap, vm_offset_t va, vm_page_t m)
|
||||
*/
|
||||
--m->wire_count;
|
||||
if (m->wire_count == 0) {
|
||||
|
||||
vm_page_flash(m);
|
||||
vm_page_busy(m);
|
||||
vm_page_free_zero(m);
|
||||
--cnt.v_wire_count;
|
||||
|
@ -1126,8 +1126,6 @@ _pmap_unwire_pte_hold(pmap_t pmap, vm_page_t m)
|
||||
*/
|
||||
--m->wire_count;
|
||||
if (m->wire_count == 0) {
|
||||
|
||||
vm_page_flash(m);
|
||||
vm_page_busy(m);
|
||||
vm_page_free_zero(m);
|
||||
--cnt.v_wire_count;
|
||||
|
@ -1126,8 +1126,6 @@ _pmap_unwire_pte_hold(pmap_t pmap, vm_page_t m)
|
||||
*/
|
||||
--m->wire_count;
|
||||
if (m->wire_count == 0) {
|
||||
|
||||
vm_page_flash(m);
|
||||
vm_page_busy(m);
|
||||
vm_page_free_zero(m);
|
||||
--cnt.v_wire_count;
|
||||
|
Loading…
Reference in New Issue
Block a user