NR_BUFS forced low if a small minix symbol is defined
This commit is contained in:
parent
61a7f45a99
commit
c7b2e60af8
1 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,11 @@
|
||||||
#define NR_PROCS _NR_PROCS
|
#define NR_PROCS _NR_PROCS
|
||||||
#define NR_SYS_PROCS _NR_SYS_PROCS
|
#define NR_SYS_PROCS _NR_SYS_PROCS
|
||||||
|
|
||||||
|
#if _MINIX_SMALL
|
||||||
|
|
||||||
|
#define NR_BUFS 20
|
||||||
|
#define NR_BUF_HASH 32
|
||||||
|
#else
|
||||||
/* The buffer cache should be made as large as you can afford. */
|
/* The buffer cache should be made as large as you can afford. */
|
||||||
#if (MACHINE == IBM_PC && _WORD_SIZE == 2)
|
#if (MACHINE == IBM_PC && _WORD_SIZE == 2)
|
||||||
#define NR_BUFS 40 /* # blocks in the buffer cache */
|
#define NR_BUFS 40 /* # blocks in the buffer cache */
|
||||||
|
@ -55,6 +60,8 @@
|
||||||
#define NR_BUF_HASH 512 /* size of buf hash table; MUST BE POWER OF 2*/
|
#define NR_BUF_HASH 512 /* size of buf hash table; MUST BE POWER OF 2*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* _MINIX_SMALL */
|
||||||
|
|
||||||
/* Number of controller tasks (/dev/cN device classes). */
|
/* Number of controller tasks (/dev/cN device classes). */
|
||||||
#define NR_CTRLRS 2
|
#define NR_CTRLRS 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue