Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2009 06:30:00 +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: r191778 - head/sys/vm
Message-ID:  <200905040630.n446U0qg036055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Mon May  4 06:30:00 2009
New Revision: 191778
URL: http://svn.freebsd.org/changeset/base/191778

Log:
  Eliminate vnode_pager_input_smlfs()'s pointless call to pmap_clear_modify().
  The page can't possibly have any modified page table entries because it
  isn't even mapped.

Modified:
  head/sys/vm/vnode_pager.c

Modified: head/sys/vm/vnode_pager.c
==============================================================================
--- head/sys/vm/vnode_pager.c	Mon May  4 02:19:52 2009	(r191777)
+++ head/sys/vm/vnode_pager.c	Mon May  4 06:30:00 2009	(r191778)
@@ -559,9 +559,6 @@ vnode_pager_input_smlfs(object, m)
 		}
 	}
 	sf_buf_free(sf);
-	vm_page_lock_queues();
-	pmap_clear_modify(m);
-	vm_page_unlock_queues();
 	if (error) {
 		return VM_PAGER_ERROR;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905040630.n446U0qg036055>