Date: Wed, 4 Aug 2021 18:55:33 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c51e4962a3cf - main - Document kern.log_wakeups_per_second. Message-ID: <202108041855.174ItXap041327@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c51e4962a3cf2959d1f1cb9ab74ceab448583169 commit c51e4962a3cf2959d1f1cb9ab74ceab448583169 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-08-04 18:50:34 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-08-04 18:50:34 +0000 Document kern.log_wakeups_per_second. PR: 148680 MFC after: 2 weeks --- sys/kern/subr_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 9336611d6005..e69fb49b008f 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108041855.174ItXap041327>