PlatformKernelConfig

Platform configuration options for the kernel area.

FieldTypeDescriptionDefault
page_scanner PageScannerConfig Configurations related to page scanner behavior.
oom_behavior OOMBehavior What should happen if the device runs out-of-memory. \[object]
memory_reclamation_strategy MemoryReclamationStrategy Configuration for the kernel memory reclamation strategy. balanced
memory_limit_mb uint64 Upper-bound in megabytes for the system memory. It simulates a system with less physical memory than it actually has.
memory_compression bool
lru_memory_compression bool
cprng CprngConfig Configures cprng related behaviors \[object]
continuous_eviction bool Configures kernel eviction to run continually in the background to try and keep the system out of memory pressure, as opposed to triggering one-shot eviction only at memory pressure level transitions. Enables the `kernel_evict_continuous` assembly input bundle.
aslr_entropy_bits uint8 For address spaces that use ASLR this controls the number of bits of entropy in the randomization. Higher entropy results in a sparser address space and uses more memory for page tables. Valid values range from 0-36. Default value is 30.