====== procfs - IRQ affinity ====== The SMP affinity masks for all interrupts are exported to procfs and can be easily set with the echo command for a single interrupt. echo hex_mask > /proc/irq//smp_affinity FIXME explain smp_affinity_list ===== References ====== * [[https://docs.kernel.org/core-api/irq/irq-affinity.html|SMP IRQ affinity]] * see fields ''affinity'' and ''effective_affinity'' of struct ''irq_common_data'' in [[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/irq.h|include/linux/irq.h]] * [[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/kernel/kernel/irq/manage.c|kernel/irq/manage.c]] * [[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/kernel/irq/proc.c|kernel/irq/proc.c]] * [[realtime:documentation:howto:tools:cpu-partitioning:irqaffinity|Default IRQ affinity]]