1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Document kern.log_wakeups_per_second.

PR:		148680
MFC after:	2 weeks
This commit is contained in:
John Baldwin 2021-08-04 11:50:34 -07:00
parent 61ed578ee6
commit c51e4962a3

View File

@ -98,10 +98,10 @@ static struct cv log_wakeup;
struct mtx msgbuf_lock;
MTX_SYSINIT(msgbuf_lock, &msgbuf_lock, "msgbuf lock", MTX_DEF);
/* Times per second to check for a pending syslog wakeup. */
static int log_wakeups_per_second = 5;
SYSCTL_INT(_kern, OID_AUTO, log_wakeups_per_second, CTLFLAG_RW,
&log_wakeups_per_second, 0, "");
&log_wakeups_per_second, 0,
"How often (times per second) to check for /dev/log waiters.");
/*ARGSUSED*/
static int