Oops, set hash table size to non-power-of-two
This commit is contained in:
parent
33bc71c3f5
commit
454c3449b3
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@
|
|||
#endif
|
||||
|
||||
#if (MACHINE == IBM_PC && _WORD_SIZE == 4)
|
||||
#define NR_BUFS 1024 /* # blocks in the buffer cache */
|
||||
#define NR_BUF_HASH 1024 /* size of buf hash table; MUST BE POWER OF 2*/
|
||||
#define NR_BUFS 1536 /* # blocks in the buffer cache */
|
||||
#define NR_BUF_HASH 2048 /* size of buf hash table; MUST BE POWER OF 2*/
|
||||
#endif
|
||||
|
||||
#if (MACHINE == SUN_4_60)
|
||||
|
|
Loading…
Reference in a new issue