Those are loader tunables but missing corresponding sysctl knobs. Add them so that sysctl -T will report them correctly.
MFC after: 1 week
Differential D42138
Add corresponding sysctl knobs for loader tunables zlei on Oct 9 2023, 6:42 PM. Authored by Tags None Referenced Files
Subscribers
Details
Those are loader tunables but missing corresponding sysctl knobs. Add them so that sysctl -T will report them correctly. MFC after: 1 week Verify via sysctl -T with kernel built with KASAN or KMSAN (can not built with both). Kernel with KASAN: set kern.boottrace.enabled=1 set vm.pgcache_zone_max_pcpu=1024 set vm.numa.disabled=1 set debug.kasan.disabled=1 boot # sysctl -T kern.boottrace kern.boottrace.table_size: 3000 kern.boottrace.shutdown_trace_threshold: 0 kern.boottrace.shutdown_trace: 0 kern.boottrace.enabled: 1 # sysctl -T vm.pgcache_zone_max_pcpu vm.pgcache_zone_max_pcpu: 1024 # sysctl -T vm.numa.disabled vm.numa.disabled: 1 # sysctl -T debug.kasan debug.kasan.disabled: 1 debug.kasan.panic_on_violation: 1 Kernel with KMSAN: Escape to boot loader prompt: set debug.kmsan.disabled=1 boot # sysctl -T debug.kmsan debug.kmsan.disabled: 1 debug.kmsan.panic_on_violation: 1
Diff Detail
Event TimelineComment Actions
With KMSAN enabled, the kernel would not boot correctly. Update test plan to disable it.
|