aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-02-16 15:21:20 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-02-16 15:28:50 +0100
commitcbf8699996a6e7f2f674b3a2a4cef9f666ff613e (patch)
treebd662d2061f90832d1bc26e47033f00d13585901 /include/linux/irq.h
parentLinux 4.16-rc1 (diff)
downloadwireguard-linux-cbf8699996a6e7f2f674b3a2a4cef9f666ff613e.tar.xz
wireguard-linux-cbf8699996a6e7f2f674b3a2a4cef9f666ff613e.zip
genirq: Let irq thread follow the effective hard irq affinity
In case of threaded interrupts the thread follows the affinity setting of the hard interrupt. The related function uses the affinity mask which was set by either from user space or via one of the kernel mechanisms. This mask can be wider than the resulting effective affinity of the hard interrupt. As a consequence the thread might become affine to a completely different CPU. Use the effective interrupt affinity if the architecture supports it, so the hard interrupt and the thread stay on the same CPU. Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'include/linux/irq.h')
0 files changed, 0 insertions, 0 deletions