Set the minimum malloc bucket to 5. In a DIAGNOSTIC kernel, the extra
data in struct freelist is larger than 16 bytes on the alpha.
This commit is contained in:
parent
8596f3994f
commit
722a066c80
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)param.h 8.3 (Berkeley) 4/4/95
|
||||
* $Id: param.h,v 1.33 1998/06/07 17:13:03 dfr Exp $
|
||||
* $Id: param.h,v 1.34 1998/07/06 16:07:43 eivind Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PARAM_H_
|
||||
@ -206,7 +206,11 @@
|
||||
* Constraints: PAGE_SIZE <= MAXALLOCSAVE <= 2 ** (MINBUCKET + 14), and
|
||||
* MAXALLOCSIZE must be a power of two.
|
||||
*/
|
||||
#if defined(__alpha__)
|
||||
#define MINBUCKET 5 /* 5 => min allocation of 32 bytes */
|
||||
#else
|
||||
#define MINBUCKET 4 /* 4 => min allocation of 16 bytes */
|
||||
#endif
|
||||
#define MAXALLOCSAVE (2 * PAGE_SIZE)
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user