svn commit: r352040 - stable/12/sys/vm

Mark Johnston markj at FreeBSD.org
Sun Sep 8 20:38:59 UTC 2019


Author: markj
Date: Sun Sep  8 20:38:58 2019
New Revision: 352040
URL: https://svnweb.freebsd.org/changeset/base/352040

Log:
  MFC r351332:
  Unconditionally enable debug.vm_lowmem.

Modified:
  stable/12/sys/vm/vm_kern.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/vm/vm_kern.c
==============================================================================
--- stable/12/sys/vm/vm_kern.c	Sun Sep  8 20:37:42 2019	(r352039)
+++ stable/12/sys/vm/vm_kern.c	Sun Sep  8 20:38:58 2019	(r352040)
@@ -839,7 +839,6 @@ kmem_bootstrap_free(vm_offset_t start, vm_size_t size)
 #endif
 }
 
-#ifdef DIAGNOSTIC
 /*
  * Allow userspace to directly trigger the VM drain routine for testing
  * purposes.
@@ -862,4 +861,3 @@ 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 with given flags");
-#endif


More information about the svn-src-stable mailing list