diff options
author | eadler <eadler@FreeBSD.org> | 2011-12-13 00:38:50 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2011-12-13 00:38:50 +0000 |
commit | 3072a90209b0633441cd50bc110aaabee8b84361 (patch) | |
tree | 1b6fc17c4c3a7b2017bd4d2dc27bc471d3096d4f /sys/dev | |
parent | cb0e02e00e9b1dd7c973b926616603c86ba314b7 (diff) | |
download | FreeBSD-src-3072a90209b0633441cd50bc110aaabee8b84361.zip FreeBSD-src-3072a90209b0633441cd50bc110aaabee8b84361.tar.gz |
Document a large number of currently undocumented sysctls. While here
fix some style(9) issues and reduce redundancy.
PR: kern/155491
PR: kern/155490
PR: kern/155489
Submitted by: Galimov Albert <wtfcrap@mail.ru>
Approved by: bde
Reviewed by: jhb
MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/md/md.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 35d5832..8ff52a9 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -105,9 +105,11 @@ static MALLOC_DEFINE(M_MD, "md_disk", "Memory Disk"); static MALLOC_DEFINE(M_MDSECT, "md_sectors", "Memory Disk Sectors"); static int md_debug; -SYSCTL_INT(_debug, OID_AUTO, mddebug, CTLFLAG_RW, &md_debug, 0, ""); +SYSCTL_INT(_debug, OID_AUTO, mddebug, CTLFLAG_RW, &md_debug, 0, + "Enable md(4) debug messages"); static int md_malloc_wait; -SYSCTL_INT(_vm, OID_AUTO, md_malloc_wait, CTLFLAG_RW, &md_malloc_wait, 0, ""); +SYSCTL_INT(_vm, OID_AUTO, md_malloc_wait, CTLFLAG_RW, &md_malloc_wait, 0, + "Allow malloc to wait for memory allocations"); #if defined(MD_ROOT) && defined(MD_ROOT_SIZE) /* |