Skip to content

Commit c51e496

Browse files
committed
Document kern.log_wakeups_per_second.
PR: 148680 MFC after: 2 weeks
1 parent 61ed578 commit c51e496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sys/kern/subr_log.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ static struct cv log_wakeup;
9898
struct mtx msgbuf_lock;
9999
MTX_SYSINIT(msgbuf_lock, &msgbuf_lock, "msgbuf lock", MTX_DEF);
100100

101-
/* Times per second to check for a pending syslog wakeup. */
102101
static int log_wakeups_per_second = 5;
103102
SYSCTL_INT(_kern, OID_AUTO, log_wakeups_per_second, CTLFLAG_RW,
104-
&log_wakeups_per_second, 0, "");
103+
&log_wakeups_per_second, 0,
104+
"How often (times per second) to check for /dev/log waiters.");
105105

106106
/*ARGSUSED*/
107107
static int

0 commit comments

Comments
 (0)