POWER CPUs Ready With Dynamic Preemption For Linux 6.16
([Linux Kernel] 6 Hours Ago
IBM POWER)
- Reference: 0001548966
- News link: https://www.phoronix.com/news/POWER-Dynamic-Preempt-Linux-616
- Source link:
Merged for Linux 5.12 back in early 2021 was [1]a new dynamic preemption mode . Finally now for H2'2025, the IBM POWER CPU ISA kernel code is supporing dynamic preemption.
The CONFIG_PREEMPT_DYNAMIC option when enabled allows setting preempt= at boot time to either none/voluntary/full with full preemption being the default. Distributions can still set the standard PREEMPT controls but this dynamic option allows changing it at boot time without rebuilding the kernel or even at run-time via DebugFS. The kernel relies on run-time patching for changing the kernel preemption mode on the fly.
The POWER/PowerPC code for Linux 6.16 is picking up support for dynamic preemption. There is also enablement of a new PMU for KVM host-wide measurement and various other minor fixes and improvements.
More details on these POWER changes for Linux 6.16 via [2]this pull request .
[1] https://www.phoronix.com/news/Linux-5.12-Dynamic-Preempt
[2] https://lore.kernel.org/lkml/c8dcda66-14d5-4f76-8e83-69840e49af91@linux.ibm.com/
The CONFIG_PREEMPT_DYNAMIC option when enabled allows setting preempt= at boot time to either none/voluntary/full with full preemption being the default. Distributions can still set the standard PREEMPT controls but this dynamic option allows changing it at boot time without rebuilding the kernel or even at run-time via DebugFS. The kernel relies on run-time patching for changing the kernel preemption mode on the fly.
The POWER/PowerPC code for Linux 6.16 is picking up support for dynamic preemption. There is also enablement of a new PMU for KVM host-wide measurement and various other minor fixes and improvements.
More details on these POWER changes for Linux 6.16 via [2]this pull request .
[1] https://www.phoronix.com/news/Linux-5.12-Dynamic-Preempt
[2] https://lore.kernel.org/lkml/c8dcda66-14d5-4f76-8e83-69840e49af91@linux.ibm.com/
phoronix