From: Ben Gras Date: Fri, 13 May 2005 14:57:09 +0000 (+0000) Subject: Oops, set hash table size to non-power-of-two X-Git-Tag: v3.1.0~837 X-Git-Url: http://zhaoyanbai.com/repos/man.ddns-confgen.html?a=commitdiff_plain;h=454c3449b3b2c3d18188b325638faa5e09e7b163;p=minix.git Oops, set hash table size to non-power-of-two --- diff --git a/include/minix/config.h b/include/minix/config.h index 2378f5134..facd996c1 100755 --- a/include/minix/config.h +++ b/include/minix/config.h @@ -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)