Date: Fri, 15 Dec 2000 13:23:34 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_log.c Message-ID: <200012152123.eBFLNYF61141@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/12/15 13:23:33 PST
Modified files:
sys/kern subr_log.c
Log:
Delay waking up processes select'ing on the log device directly from
the kernel console. Instead, change logwakeup() to set a flag in the
softc. A callout then wakes up every so often and wakes up any processes
selecting on /dev/log (such as syslogd) if the flag is set. By default
this callout fires 5 times a second, but that can be adjusted by the
sysctl kern.log_wakeups_per_second.
Reviewed by: phk
Revision Changes Path
1.41 +30 -1 src/sys/kern/subr_log.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012152123.eBFLNYF61141>
