Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 19:23:02 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <200510061923.j96JN2Fq080575@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
delphij     2005-10-06 19:23:02 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             kern_descrip.c 
  Log:
  MFC 1.280 (by des):
  
  | Two minor optimizations of fdalloc():
  |
  |  - if minfd < fd_freefile (as is most often the case, since minfd is
  |    usually 0), set it to fd_freefile.
  |
  |  - remove a call to fd_first_free() which duplicates work already done
  |    by fdused().
  |
  | This change results in a small but measurable speedup for processes
  | with large numbers (several thousands) of open files.
  |
  | PR:             kern/85176
  | Submitted by:   Divacky Roman <xdivac02@stud.fit.vutbr.cz>
  |
  | Revision  Changes    Path
  | 1.280     +3 -1      src/sys/kern/kern_descrip.c
  
  Approved by:    re
  
  Revision   Changes    Path
  1.279.2.1  +3 -1      src/sys/kern/kern_descrip.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510061923.j96JN2Fq080575>