PlatformKernelConfig

Platform configuration options for the kernel area.

FieldTypeDescriptionDefault
scheduler_enable_new_wakeup_accounting bool Disable emulation of the previous thread wakeup accounting behavior when unified bookkeeping is enabled. The previous wakeup behavior makes it less likely that a newly woken thread will preempt a currently running thread. This behavior is less fair to newly woken threads than the new behavior implemented by unified bookkeeping, but is desirable because it makes latent race conditions less likely to cause problems.
page_scanner PageScannerConfig Configurations related to page scanner behavior.
oom OomConfig
memory_reclamation_strategy MemoryReclamationStrategy Configuration for the kernel memory reclamation strategy.
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
ktrace KtraceConfig
jitterentropy_ml uint32 Sets the "memory loops" parameter for jitterentropy. When jitterentropy is performing memory operations (to increase variation in CPU timing), this controls how many times the memory access routine is repeated. This parameter is only used when `kernel.jitterentropy.raw` is true. If the value of this parameter is `0` or if `kernel.jitterentropy.raw` is `false`, then jitterentropy chooses the number of loops is a random-ish way. Please tune to specific CPU prior to setting and provide validation data like entropy rating to associated CL (similar process to go/fuchsia-jitterentropy-sorrel)
jitterentropy_ll uint32 Sets the "LFSR loops" parameter for jitterentropy. When jitterentropy is performing CPU-intensive LFSR operations (to increase variation in CPU timing), this controls how many times the LFSR routine is repeated. This parameter is only used when `kernel.jitterentropy.raw` is true. If the value of this parameter is `0` or if `kernel.jitterentropy.raw` is `false`, then jitterentropy chooses the number of loops is a random-ish way. Please tune to specific CPU prior to setting and provide validation data like entropy rating to associated CL (similar process to go/fuchsia-jitterentropy-sorrel)
jitterentropy_bs uint32 Sets the "memory block size" parameter for jitterentropy. When jitterentropy is performing memory operations (to increase variation in CPU timing), the memory will be accessed in blocks of this size. Please tune to specific CPU prior to setting and provide validation data like entropy rating to associated CL (similar process to go/fuchsia-jitterentropy-sorrel)
jitterentropy_bc uint32 Sets the "memory block count" parameter for jitterentropy. When jitterentropy is performing memory operations (to increase variation in CPU timing), this controls how many blocks (of size `kernel.jitterentropy.bs`) are accessed. Please tune to specific CPU prior to setting and provide validation data like entropy rating to associated CL (similar process to go/fuchsia-jitterentropy-sorrel)
cprng CprngConfig Configures cprng related behaviors
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.