diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-25 14:44:06 (GMT) |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-25 14:44:06 (GMT) |
commit | f7b9ddb8a5e8a25954217fa25d114bd8cf4491a4 (patch) | |
tree | 06837e268d145e59ad46d9cd5f6c36c16f2424c9 /arch/s390/include/asm/kvm_host.h | |
parent | ea2108c9308071ae41ae6f537724cb2734045943 (diff) | |
parent | 2ed10cc15e7edf2daf22ce807a877a1266e97711 (diff) | |
download | linux-f7b9ddb8a5e8a25954217fa25d114bd8cf4491a4.tar.xz |
Merge tag 'kvm-s390-20140325' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kvm-next
3 fixes
- memory leak on certain SIGP conditions
- wrong size for idle bitmap (always too big)
- clear local interrupts on initial CPU reset
1 performance improvement
- improve performance with many guests on certain workloads
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r-- | arch/s390/include/asm/kvm_host.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index dd39337..68897fc 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h @@ -222,8 +222,7 @@ struct kvm_s390_float_interrupt { struct list_head list; atomic_t active; int next_rr_cpu; - unsigned long idle_mask[(KVM_MAX_VCPUS + sizeof(long) - 1) - / sizeof(long)]; + unsigned long idle_mask[BITS_TO_LONGS(KVM_MAX_VCPUS)]; unsigned int irq_count; }; |