Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 23:30:17 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188967 - head/sys/vm
Message-ID:  <200902232330.n1NNUHOR042879@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Mon Feb 23 23:30:17 2009
New Revision: 188967
URL: http://svn.freebsd.org/changeset/base/188967

Log:
  Put debug.vm_lowmem sysctl under DIAGNOSTIC.
  
  Submitted by:	sam
  MFC after:	3 days

Modified:
  head/sys/vm/vm_kern.c

Modified: head/sys/vm/vm_kern.c
==============================================================================
--- head/sys/vm/vm_kern.c	Mon Feb 23 23:12:01 2009	(r188966)
+++ head/sys/vm/vm_kern.c	Mon Feb 23 23:30:17 2009	(r188967)
@@ -502,6 +502,7 @@ kmem_init(start, end)
 	vm_map_unlock(m);
 }
 
+#ifdef DIAGNOSTIC
 /*
  * Allow userspace to directly trigger the VM drain routine for testing
  * purposes.
@@ -522,3 +523,4 @@ debug_vm_lowmem(SYSCTL_HANDLER_ARGS)
 
 SYSCTL_PROC(_debug, OID_AUTO, vm_lowmem, CTLTYPE_INT | CTLFLAG_RW, 0, 0,
     debug_vm_lowmem, "I", "set to trigger vm_lowmem event");
+#endif



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