Skip to content

Draft: Enable CONFIG_PREEMPT_DYNAMIC for Reform kernel

This changes enables CONFIG_PREEMPT_DYNAMIC for Reform kernel, allowing boot/runtime switching of kernel preemption mode.

CONFIG_PREEMPT_VOLUNTARY line is also added to keep voluntary preemption as default (otherwise PREEMPT=y gets enabled effectively making full preemption as global default).

Dynamic preemption allows switching to full preemption, while keeping voluntary as default, making it a useful change for low-latency use-cases such as realtime audio, where full preemption can improve runtime stability.

It also allows switching preemption off, increasing system throughput, which can be good for server/rack Reform systems.

More details about CONFIG_PREEMPT_DYNAMIC:

https://lkml.iu.edu/hypermail/linux/kernel/2102.2/01311.html

Merge request reports