]> git.baikalelectronics.ru Git - kernel.git/commit
xen/smp: unbind irqworkX when unplugging vCPUs.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 21 May 2012 13:19:38 +0000 (09:19 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 21 May 2012 13:26:04 +0000 (09:26 -0400)
commit26aa32fb125d5faab8a9af30723812d440d3b747
tree73bfdd40a8f303948cbaf21b9a35a81685c1a598
parentb9cb971a5ea73ee09a400ad6f1c21dda5a8075c0
xen/smp: unbind irqworkX when unplugging vCPUs.

The git commit  c3db64e58a3897edb661a3bb2c93e0e07b6e8d64
"xen: implement IRQ_WORK_VECTOR handler" added the functionality
to have a per-cpu "irqworkX" for the IPI APIC functionality.
However it missed the unbind when a vCPU is unplugged resulting
in an orphaned per-cpu interrupt line for unplugged vCPU:

  30:        216          0   xen-dyn-event     hvc_console
  31:        810          4   xen-dyn-event     eth0
  32:         29          0   xen-dyn-event     blkif
- 36:          0          0  xen-percpu-ipi       irqwork2
- 37:        287          0   xen-dyn-event     xenbus
+ 36:        287          0   xen-dyn-event     xenbus
 NMI:          0          0   Non-maskable interrupts
 LOC:          0          0   Local timer interrupts
 SPU:          0          0   Spurious interrupts

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/smp.c