1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Put debug.vm_lowmem sysctl under DIAGNOSTIC.

Submitted by:	sam
MFC after:	3 days
This commit is contained in:
Robert Watson 2009-02-23 23:30:17 +00:00
parent 2619bc56bf
commit 9309e63c1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188967

View File

@ -502,6 +502,7 @@ kmem_init(start, end)
vm_map_unlock(m); vm_map_unlock(m);
} }
#ifdef DIAGNOSTIC
/* /*
* Allow userspace to directly trigger the VM drain routine for testing * Allow userspace to directly trigger the VM drain routine for testing
* purposes. * purposes.
@ -522,3 +523,4 @@ debug_vm_lowmem(SYSCTL_HANDLER_ARGS)
SYSCTL_PROC(_debug, OID_AUTO, vm_lowmem, CTLTYPE_INT | CTLFLAG_RW, 0, 0, SYSCTL_PROC(_debug, OID_AUTO, vm_lowmem, CTLTYPE_INT | CTLFLAG_RW, 0, 0,
debug_vm_lowmem, "I", "set to trigger vm_lowmem event"); debug_vm_lowmem, "I", "set to trigger vm_lowmem event");
#endif