Calling pmap_clear_modify() after calling pmap_remove_write() is pointless.
The latter function already clears the modified status from each of the page's mappings.
This commit is contained in:
parent
4f6b15547b
commit
f4b0c119c0
@ -462,7 +462,6 @@ vm_pageout_flush(vm_page_t *mc, int count, int flags)
|
||||
* essentially lose the changes by pretending it
|
||||
* worked.
|
||||
*/
|
||||
pmap_clear_modify(mt);
|
||||
vm_page_undirty(mt);
|
||||
break;
|
||||
case VM_PAGER_ERROR:
|
||||
|
Loading…
Reference in New Issue
Block a user