From a0ce9292d0703b54477b7bd908e94100a3dcf198 Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 26 Jun 2000 13:52:31 +0000 Subject: 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 8c688dc..42969c6 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 58e7ecc..35aa113 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 -- cgit v1.1