svn commit: r205309 - user/kmacy/head_page_lock/sys/vm

Kip Macy kmacy at FreeBSD.org
Fri Mar 19 03:30:19 UTC 2010


Author: kmacy
Date: Fri Mar 19 03:30:19 2010
New Revision: 205309
URL: http://svn.freebsd.org/changeset/base/205309

Log:
  remove gratuitous vm_page_io_start() calls

Modified:
  user/kmacy/head_page_lock/sys/vm/vm_object.c

Modified: user/kmacy/head_page_lock/sys/vm/vm_object.c
==============================================================================
--- user/kmacy/head_page_lock/sys/vm/vm_object.c	Fri Mar 19 01:38:03 2010	(r205308)
+++ user/kmacy/head_page_lock/sys/vm/vm_object.c	Fri Mar 19 03:30:19 2010	(r205309)
@@ -964,8 +964,6 @@ vm_object_page_collect_flush(vm_object_t
 		}
 		vm_page_lock(p);
 	}
-	vm_page_io_start(p);
-	pmap_remove_write(p);
 	vm_page_unlock(p);
 
 	maxf = 0;
@@ -985,11 +983,6 @@ vm_object_page_collect_flush(vm_object_t
 				tp->oflags &= ~VPO_CLEANCHK;
 				break;
 			}
-#ifdef notyet
-			/* XXX */
-			vm_page_io_start(tp);
-			pmap_remove_write(tp);
-#endif
  			vm_page_unlock(tp);			
 			maf[ i - 1 ] = tp;
 			maxf++;
@@ -1017,10 +1010,6 @@ vm_object_page_collect_flush(vm_object_t
 					tp->oflags &= ~VPO_CLEANCHK;
 					break;
 				}
-#ifdef notyet				
- 				vm_page_io_start(tp);
- 				pmap_remove_write(tp);
-#endif				
  				vm_page_unlock(tp);
 				mab[ i - 1 ] = tp;
 				maxb++;


More information about the svn-src-user mailing list