Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2000 21:59:01 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern subr_log.c
Message-ID:  <20001215215901.B35080@gosset.maths.tcd.ie>
In-Reply-To: <200012152123.eBFLNYF61141@freefall.freebsd.org>; from jhb@FreeBSD.org on Fri, Dec 15, 2000 at 01:23:34PM -0800
References:  <200012152123.eBFLNYF61141@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 15, 2000 at 01:23:34PM -0800, John Baldwin wrote:

>   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.

Can you explain the idea of this patch? Is it just to reduce the 
number of wakeups that syslogd gets? Can the kernel log buffer
wrap and messages get lost?

	David.


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?20001215215901.B35080>