svn commit: r206801 - head/sys/vm

Alan Cox alc at FreeBSD.org
Sun Apr 18 17:50:09 UTC 2010


Author: alc
Date: Sun Apr 18 17:50:09 2010
New Revision: 206801
URL: http://svn.freebsd.org/changeset/base/206801

Log:
  There is no justification for vm_object_split() setting PG_REFERENCED on a
  page that it is going to sleep on.  Eliminate it.
  
  MFC after:	3 weeks

Modified:
  head/sys/vm/vm_object.c

Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c	Sun Apr 18 16:37:38 2010	(r206800)
+++ head/sys/vm/vm_object.c	Sun Apr 18 17:50:09 2010	(r206801)
@@ -1422,7 +1422,6 @@ retry:
 		 * not be changed by this operation.
 		 */
 		if ((m->oflags & VPO_BUSY) || m->busy) {
-			vm_page_flag_set(m, PG_REFERENCED);
 			vm_page_unlock_queues();
 			VM_OBJECT_UNLOCK(new_object);
 			m->oflags |= VPO_WANTED;


More information about the svn-src-head mailing list