Properly guard definitions of DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ and
SGROWSIZ. They can be set in the kernel configuration file.
This commit is contained in:
parent
7274b125c9
commit
66d18d0999
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225995
@ -141,11 +141,21 @@
|
||||
#endif
|
||||
|
||||
#define MAXTSIZ (16*1024*1024)
|
||||
#ifndef DFLDSIZ
|
||||
#define DFLDSIZ (128*1024*1024)
|
||||
#endif
|
||||
#ifndef MAXDSIZ
|
||||
#define MAXDSIZ (512*1024*1024)
|
||||
#endif
|
||||
#ifndef DFLSSIZ
|
||||
#define DFLSSIZ (2*1024*1024)
|
||||
#endif
|
||||
#ifndef MAXSSIZ
|
||||
#define MAXSSIZ (8*1024*1024)
|
||||
#endif
|
||||
#ifndef SGROWSIZ
|
||||
#define SGROWSIZ (128*1024)
|
||||
#endif
|
||||
|
||||
#ifdef ARM_USE_SMALL_ALLOC
|
||||
#define UMA_MD_SMALL_ALLOC
|
||||
|
Loading…
Reference in New Issue
Block a user