KVM: Tune hotplug/suspend IPIs
authorAvi Kivity <avi@qumranet.com>
Thu, 24 May 2007 10:09:41 +0000 (13:09 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:51 +0000 (12:05 +0300)
commit4267c41a458cd7d287dc8031468fc385c2f5b2c3
tree00ed5fcc4887e9eae5bb5a59144bf403b61e7e7d
parent1b6c016818a562aaea22b1a1b05b15c796b0c2f0
KVM: Tune hotplug/suspend IPIs

The hotplug IPIs can be called from the cpu on which we are currently
running on, so use on_cpu().  Similarly, drop on_each_cpu() for the
suspend/resume callbacks, as we're in atomic context here and only one
cpu is up anyway.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c