NR_BUFS forced low if a small minix symbol is defined
This commit is contained in:
		
							parent
							
								
									61a7f45a99
								
							
						
					
					
						commit
						c7b2e60af8
					
				| @ -39,6 +39,11 @@ | ||||
| #define NR_PROCS 	  _NR_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. */ | ||||
| #if (MACHINE == IBM_PC && _WORD_SIZE == 2) | ||||
| #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*/ | ||||
| #endif | ||||
| 
 | ||||
| #endif	/* _MINIX_SMALL */ | ||||
| 
 | ||||
| /* Number of controller tasks (/dev/cN device classes). */ | ||||
| #define NR_CTRLRS          2 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ben Gras
						Ben Gras