mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
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:
@@ -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! */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user