]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/irq: Protect smp_cleanup_move
authorThomas Gleixner <tglx@linutronix.de>
Sun, 2 Aug 2015 20:38:23 +0000 (20:38 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 5 Aug 2015 22:14:58 +0000 (00:14 +0200)
commitdf54c4934e030e73cb6a7bd6713f697350dabd0b
treeca8bf6916613498564a3913a0c4ed272438a0604
parentad3f8d5afe503faa78d61a50a1f6eec3afa7c787
x86/irq: Protect smp_cleanup_move

smp_cleanup_move fiddles without protection in the interrupt
descriptors and the vector array. A concurrent irq setup/teardown or
affinity setting can pull the rug under that operation.

Add proper locking.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: http://lkml.kernel.org/r/20150802203609.222975294@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/vector.c