Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/include/vmparam.h
Show First 20 Lines • Show All 179 Lines • ▼ Show 20 Lines | |||||
#define VM_FREEPOOL_DIRECT 1 | #define VM_FREEPOOL_DIRECT 1 | ||||
/* | /* | ||||
* Create one free page list. | * Create one free page list. | ||||
*/ | */ | ||||
#define VM_NFREELIST 1 | #define VM_NFREELIST 1 | ||||
#define VM_FREELIST_DEFAULT 0 | #define VM_FREELIST_DEFAULT 0 | ||||
/* | |||||
* The largest allocation size is 4MB. | |||||
*/ | |||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
/* The largest allocation size is 16MB. */ | |||||
#define VM_NFREEORDER 13 | #define VM_NFREEORDER 13 | ||||
jhibbits: I think this is unnecessary now. | |||||
Done Inline ActionsRight, I forgot to remove this part, when removing PPC_SUPERPAGES. luporl: Right, I forgot to remove this part, when removing PPC_SUPERPAGES. | |||||
#else | #else | ||||
/* The largest allocation size is 4MB. */ | |||||
#define VM_NFREEORDER 11 | #define VM_NFREEORDER 11 | ||||
#endif | #endif | ||||
#ifndef VM_NRESERVLEVEL | #ifndef VM_NRESERVLEVEL | ||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
/* Enable superpage reservations: 1 level. */ | |||||
#define VM_NRESERVLEVEL 1 | #define VM_NRESERVLEVEL 1 | ||||
#else | #else | ||||
/* | /* Disable superpage reservations. */ | ||||
* Disable superpage reservations. | |||||
*/ | |||||
#define VM_NRESERVLEVEL 0 | #define VM_NRESERVLEVEL 0 | ||||
#endif | #endif | ||||
#endif | #endif | ||||
/* | |||||
* Level 0 reservations consist of 512 pages. | |||||
*/ | |||||
#ifndef VM_LEVEL_0_ORDER | #ifndef VM_LEVEL_0_ORDER | ||||
#define VM_LEVEL_0_ORDER 9 | /* Level 0 reservations consist of 512 (RPT) or 4096 (HPT) pages. */ | ||||
#define VM_LEVEL_0_ORDER vm_level_0_order | |||||
#ifndef __ASSEMBLER__ | |||||
extern int vm_level_0_order; | |||||
#endif | |||||
#endif | |||||
#ifndef VM_LEVEL_0_ORDER_MAX | |||||
#define VM_LEVEL_0_ORDER_MAX 12 | |||||
#endif | #endif | ||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
#ifdef SMP | #ifdef SMP | ||||
#define PA_LOCK_COUNT 256 | #define PA_LOCK_COUNT 256 | ||||
#endif | #endif | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |
I think this is unnecessary now.