1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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:
Alan Cox 2009-04-19 07:18:08 +00:00
parent 4f6b15547b
commit f4b0c119c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191263

View File

@ -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: