Date: Wed, 30 Jul 2008 12:39:18 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200807301819.m6UIJd2W003752@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-07-30 12:39:18 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: SVN rev 180995 on 2008-07-30 12:39:18Z by ed Remove the use of lbolt from the VFS syncer. It seems we only use `lbolt' inside the VFS syncer and the TTY layer now. Because I'm planning to replace the TTY layer next month, there's no reason to keep `lbolt' if it's only used in a single thread inside the kernel. Because the syncer code wanted to wake up the syncer thread before the timeout, it called sleepq_remove(). Because we now just use a condvar(9) with a timeout value of `hz', we can wake it up using cv_broadcast() without waking up any unrelated threads. Reviewed by: phk Revision Changes Path 1.736 +7 -9 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807301819.m6UIJd2W003752>