Date: Sun, 19 Apr 2009 07:18:08 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r191263 - head/sys/vm Message-ID: <200904190718.n3J7I8W4002248@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904190718.n3J7I8W4002248>