Re: [PATCH 2/2] KVM: x86: flush pending lapic jump label updates on module unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-12-16 14:30-0800, David Matlack:
> KVM's lapic emulation uses static_key_deferred (apic_{hw,sw}_disabled).
> These are implemented with delayed_work structs which can still be
> pending when the KVM module is unloaded. We've seen this cause kernel
> panics when the kvm_intel module is quickly reloaded.
> 
> Use the new static_key_deferred_flush() API to flush pending updates on
> module unload.
> 
> Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx>
> ---

Oh, this forgotten bug.  I guess that patches to do this automatically
from generic module unload code would be over-engineering it ...

Reviewed-by: Radim Krčmář <rkrcmar@xxxxxxxxxx>

Thanks.
--
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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux