cvs commit: src/sys/kern kern_subr.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Apr 29 10:29:38 PDT 2004


dillon      2004/04/29 10:29:16 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_subr.c 
  Log:
  Make hash tables one power of 2 larger so they don't (generally) fold
  nodes as much.  Before if you requested a hash table of 63 elements
  it would create a 32 entry hash table.  Now it creates a 64 entry hash
  table (and 128 entry if you specify 65 elements).
  
  Revision  Changes    Path
  1.15      +4 -3      src/sys/kern/kern_subr.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_subr.c.diff?r1=1.14&r2=1.15&f=h





More information about the Commits mailing list