cvs commit: src/sys/kern vfs_subr.c

Alan Cox alc at FreeBSD.org
Mon May 12 21:36:04 PDT 2003


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


More information about the cvs-all mailing list