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:
parent
d040e2d053
commit
47fdd692c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62119
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user