Reduced maximum number of pagers to 1, and boot-time capabilities to 16

Each container was taking up more than 3KB of space at boot-time structures
This was due to having 4 pagers and 32 boot-time capabilities for each. This
caused the boot-time kernel size to vary a lot with capabilities. The new
numbers are optimum.

Particularly we always have a single pager per container, even though the
array structures allow more. Single pager makes container-wide privileges
and management simpler.
This commit is contained in:
Bahadir Balban
2009-11-21 12:31:03 +02:00
parent a13120c073
commit 5bff5b5fbf

View File

@@ -19,8 +19,8 @@
#define curcont (current->container)
#define CONFIG_CONTAINER_NAMESIZE 64
#define CONFIG_MAX_CAPS_USED 32
#define CONFIG_MAX_PAGERS_USED 4
#define CONFIG_MAX_CAPS_USED 16
#define CONFIG_MAX_PAGERS_USED 1
/* Container macro. No locks needed! */