FS#75456 - [linux-lts] enable PREEMPT_DYNAMIC like the linux package to allow configuring preemption mode
Attached to Project:
Arch Linux
Opened by Daniel Micay (thestinger) - Saturday, 30 July 2022, 09:17 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 11 August 2022, 14:08 GMT
Opened by Daniel Micay (thestinger) - Saturday, 30 July 2022, 09:17 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 11 August 2022, 14:08 GMT
|
Details
CONFIG_PREEMPT_DYNAMIC=y is available since Linux 5.12 and
is used for the linux package already. It allows the system
administrator to choose preempt=none|voluntary|full on the
kernel line. Enabling CONFIG_PREEMPT_DYNAMIC=y is a clear
all around benefit allowing system administrators to choose
the best mode for their use case.
The default could be left at preempt=none since linux-lts is more server focused. I don't have much of an opinion on whether it should be consistent with the linux package (preempt=full), a balanced choice (preempt=voluntary) or solely throughput focused (preempt=none) as it is now. |
This task depends upon
So it's not possible in 5.15.x to have either desired CONFIG_PREEMPT_NONE=y or CONFIG_PREEMPT_VOLUNTARY=y with dynamic support.
And default CONFIG_PREEMPT=y (low latency desktop) is not desired for LTS kernels.
Please come back to me if I miss it when we move to a newer longterm branch.