Date: Thu, 13 Dec 2007 11:58:01 +0000 (UTC) From: Konstantin Belousov <kib@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: <200712131158.lBDBw1s3067813@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2007-12-13 11:58:01 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern vfs_subr.c
Log:
MFC rev. 1.710:
Use curthread instead of the FIRST_THREAD_IN_PROC for vnlru and syncer,
when applicable.
Aquire Giant slightly later for vnlru.
In the syncer, aquire the Giant only when a vnode belongs to the
non-MPsafe fs.
In both speedup_syncer() and syncer_shutdown(), remove the syncer thread from
the lbolt sleep queue after the syncer state is modified, not before.
Approved by: re (kensmith)
Revision Changes Path
1.707.2.1 +42 -15 src/sys/kern/vfs_subr.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712131158.lBDBw1s3067813>
