PlatformKernelConfig

内核区域的平台配置选项。

字段类型说明默认
page_scanner PageScannerConfig 与网页扫描器行为相关的配置。
oom OomConfig
memory_reclamation_strategy MemoryReclamationStrategy 内核内存回收策略的配置。
memory_limit_mb uint64 系统内存的上限(以 MB 为单位)。它会模拟物理内存少于实际内存的系统。
memory_compression bool
lru_memory_compression bool
ktrace KtraceConfig
cprng CprngConfig 配置 cprng 相关行为
aslr_entropy_bits uint8 对于使用 ASLR 的地址空间,此参数用于控制随机化中的熵位数。熵越高,地址空间越稀疏,并且会使用更多内存来存储页面表。有效值的范围为 0-36。默认值为 30。