Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2010 17:50:09 +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: r206801 - head/sys/vm
Message-ID:  <201004181750.o3IHo9hV049304@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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