docs: kernel-parameters: document scope of irqaffinity= parameter
PATCH 1/1 docs: kernel-parameters: document scope of irqaffinity= parameter
System administrators frequently use the "irqaffinity=" boot parameter in conjunction with CPU isolation to build deterministic, latency-free environments. However, there is a widespread misconception that "irqaffinity=" acts as a global, absolute override for all hardware interrupts.
In reality, "irqaffinity=" strictly populates the irq_default_affinity mask. When the kernel allocates multiqueue vectors
(e.g., irq_create_affinity_masks()), it explicitly bypasses this default mask for managed interrupts. Instead, it relies on dynamic spreading algorithms to map queues to the available topology, effectively overriding any default the administrator set via the command line.
This patch explicitly documents this limitation in kernel-parameters.txt to set correct expectations and directs users to the appropriate "isolcpus=" sub-parameters for managed interrupt isolation.
--- Documentation/admin-guide/kernel-parameters.txt | 8 ++++++++ 1 file changed, 8 insertions(+)
Documentation/admin-guide/kernel-parameters.txt +8 -0
@@ -2732,6 +2732,14 @@ Kernel parameters irqaffinity= [SMP] Set the default irq affinity mask The argument is a cpu list, as described above. + Note: This parameter only sets the default affinity + for unmanaged interrupts (e.g., legacy single-queue + devices or unmanaged pre/post vectors). It is + explicitly ignored by managed interrupts, such as + those utilised by modern multiqueue storage + controllers. To isolate CPUs from managed + interrupts, see the "managed_irq". + irqchip.gicv2_force_probe= [ARM,ARM64,EARLY] Format: <bool>
Signature · 1 line
2.51.0