On Tue, Jun 17, 2014 at 12:03:58PM +0200, Alexander Graf wrote: > When we're using PR KVM we must not allow the CPU to take interrupts > in virtual mode, as the SLB does not contain host kernel mappings > when running inside the guest context. > > To make sure we get good performance for non-KVM tasks but still > properly functioning PR KVM, let's just disable AIL whenever a vcpu > is scheduled in. > > This is fundamentally different from how we deal with AIL on pSeries > type machines where we disable AIL for the whole machine as soon as > a single KVM VM is up. > > The reason for that is easy - on pSeries we do not have control over > per-cpu configuration of AIL. We also don't want to mess with CPU hotplug > races and AIL configuration, so setting it per CPU is easier and more > flexible. > > This patch fixes running PR KVM on POWER8 bare metal for me. > > Signed-off-by: Alexander Graf <agraf@xxxxxxx> Acked-by: Paul Mackerras <paulus@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html