Re: [PATCH 1/7] static_key: flush rate limit timer on rmmod

2013-10-18 Thread Radim Krčmář
2013-10-17 12:35+0200, Paolo Bonzini: > Il 17/10/2013 12:10, Radim Krčmář ha scritto: > > Fix a bug when we free module memory while timer is pending by marking > > deferred static keys and flushing the timer on module unload. > > > > Also make static_key_rate_limit() useable more than once. > >

Re: [PATCH 1/7] static_key: flush rate limit timer on rmmod

2013-10-17 Thread Paolo Bonzini
Il 17/10/2013 12:10, Radim Krčmář ha scritto: > Fix a bug when we free module memory while timer is pending by marking > deferred static keys and flushing the timer on module unload. > > Also make static_key_rate_limit() useable more than once. > > Reproducer: (host crasher) > modprobe kvm_inte

[PATCH 1/7] static_key: flush rate limit timer on rmmod

2013-10-17 Thread Radim Krčmář
Fix a bug when we free module memory while timer is pending by marking deferred static keys and flushing the timer on module unload. Also make static_key_rate_limit() useable more than once. Reproducer: (host crasher) modprobe kvm_intel (sleep 1; echo quit) \ | qemu-kvm -kernel /dev/null