Make hash tables one power of 2 larger so they don't (generally) fold
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 29 Apr 2004 17:29:16 +0000 (17:29 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 29 Apr 2004 17:29:16 +0000 (17:29 +0000)
commit1c86b25b63b6005f0d8c8af8f0e922f611cc7d70
treedffc21649ca7213f03c208ecd0bccaaadc293849
parent263541dbed4ce4d88ed87b418356a3c7cc501e3b
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).
sys/kern/kern_subr.c