DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_subr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Apr 2004 10:29:16 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]