Date: Mon, 12 May 2003 21:36:02 -0700 (PDT) From: Alan Cox <alc@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: <200305130436.h4D4a2Xq068654@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2003/05/12 21:36:02 PDT
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
Optimize the use of splay in gbincore(). During a "make buildworld" the
desired buffer is found at one of the roots more than 60% of the time.
Thus, checking both roots before performing either splay eliminates
unnecessary splays on the first tree splayed.
Approved by: re (jhb)
Revision Changes Path
1.448 +22 -7 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305130436.h4D4a2Xq068654>
