From 2ca50fa2d0e9e3d83b9906e2b7543cadf4245f48 Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 26 Jun 2000 13:52:31 +0000 Subject: [PATCH] Add sysctl descriptions to a few sysctls. Simply "documentation". PR: kern/8015 Submitted by: Stefan Eggers --- sys/kern/kern_acct.c | 6 +++--- sys/kern/kern_fork.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c index 8c688dc349d3..42969c6e2cf5 100644 --- a/sys/kern/kern_acct.c +++ b/sys/kern/kern_acct.c @@ -94,15 +94,15 @@ static struct vnode *savacctp; */ static int acctsuspend = 2; /* stop accounting when < 2% free space left */ SYSCTL_INT(_kern, OID_AUTO, acct_suspend, CTLFLAG_RW, - &acctsuspend, 0, ""); + &acctsuspend, 0, "percentage of free disk space below which accounting stops"); static int acctresume = 4; /* resume when free space risen to > 4% */ SYSCTL_INT(_kern, OID_AUTO, acct_resume, CTLFLAG_RW, - &acctresume, 0, ""); + &acctresume, 0, "percentage of free disk space above which accounting resumes"); static int acctchkfreq = 15; /* frequency (in seconds) to check space */ SYSCTL_INT(_kern, OID_AUTO, acct_chkfreq, CTLFLAG_RW, - &acctchkfreq, 0, ""); + &acctchkfreq, 0, "frequency for checking the free space"); /* * Accounting system call. Written based on the specification and diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 58e7ecce3b11..35aa1135042f 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -68,7 +68,8 @@ static MALLOC_DEFINE(M_ATFORK, "atfork", "atfork callback"); static int fast_vfork = 1; -SYSCTL_INT(_kern, OID_AUTO, fast_vfork, CTLFLAG_RW, &fast_vfork, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, fast_vfork, CTLFLAG_RW, &fast_vfork, 0, + "flag to indicate whether we have a fast vfork()"); /* * These are the stuctures used to create a callout list for things to do