svn commit: r200502 - user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Kip Macy kmacy at FreeBSD.org
Mon Dec 14 03:54:47 UTC 2009


Author: kmacy
Date: Mon Dec 14 03:54:47 2009
New Revision: 200502
URL: http://svn.freebsd.org/changeset/base/200502

Log:
  eliminate explicit backpressure from VM in arc.c

Modified:
  user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c

Modified: user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
==============================================================================
--- user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c	Mon Dec 14 03:52:21 2009	(r200501)
+++ user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c	Mon Dec 14 03:54:47 2009	(r200502)
@@ -131,8 +131,6 @@
 #include <sys/kstat.h>
 #include <sys/sdt.h>
 
-#include <vm/vm_pageout.h>
-
 static kmutex_t		arc_reclaim_thr_lock;
 static kcondvar_t	arc_reclaim_thr_cv;	/* used to signal reclaim thr */
 static uint8_t		arc_thread_exit;
@@ -1960,14 +1958,6 @@ arc_reclaim_needed(void)
 
 #if 0
 	/*
-	 * If pages are needed or we're within 2048 pages 
-	 * of needing to page need to reclaim
-	 */
-	if (vm_pages_needed || (vm_paging_target() > -2048))
-		return (1);
-
-
-	/*
 	 * take 'desfree' extra pages, so we reclaim sooner, rather than later
 	 */
 	extra = desfree;


More information about the svn-src-user mailing list