From owner-cvs-all Fri Dec 15 13:59: 9 2000 From owner-cvs-all@FreeBSD.ORG Fri Dec 15 13:59:05 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id EAE9C37B400; Fri, 15 Dec 2000 13:59:03 -0800 (PST) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 15 Dec 2000 21:59:03 +0000 (GMT) Date: Fri, 15 Dec 2000 21:59:01 +0000 From: David Malone To: John Baldwin 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> References: <200012152123.eBFLNYF61141@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012152123.eBFLNYF61141@freefall.freebsd.org>; from jhb@FreeBSD.org on Fri, Dec 15, 2000 at 01:23:34PM -0800 Sender: dwmalone@maths.tcd.ie Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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