svn commit: r191263 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Sun Apr 19 07:18:09 UTC 2009
Author: alc
Date: Sun Apr 19 07:18:08 2009
New Revision: 191263
URL: http://svn.freebsd.org/changeset/base/191263
Log:
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.
Modified:
head/sys/vm/vm_pageout.c
Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c Sun Apr 19 06:59:12 2009 (r191262)
+++ head/sys/vm/vm_pageout.c Sun Apr 19 07:18:08 2009 (r191263)
@@ -462,7 +462,6 @@ vm_pageout_flush(vm_page_t *mc, int coun
* essentially lose the changes by pretending it
* worked.
*/
- pmap_clear_modify(mt);
vm_page_undirty(mt);
break;
case VM_PAGER_ERROR:
More information about the svn-src-all
mailing list