Add sysctl descriptions to a few sysctls. Simply "documentation".

PR:		kern/8015
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
This commit is contained in:
nbm 2000-06-26 13:52:31 +00:00
parent e9905611b4
commit 2ca50fa2d0
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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