Re: [PATCH] KVM: update depracated and inappropriate jump label API

2021-01-19 Thread Sean Christopherson
s/depracated/deprecated And maybe reword the shortlog to be more explicit? E.g. KVM: Stop using deprecated jump label APIs On Sat, Jan 16, 2021, Cun Li wrote: > The use of 'struct static_key' and 'static_key_false' is > deprecated. Use the new API. > > mmu_audit_key can only be true or false

[PATCH] KVM: update depracated and inappropriate jump label API

2021-01-15 Thread Cun Li
The use of 'struct static_key' and 'static_key_false' is deprecated. Use the new API. mmu_audit_key can only be true or false so it would be nice to use static_branch_enable()/static_branch_disable() for it and not static_key_slow_inc()/static_key_slow_dec(). Signed-off-by: Cun Li --- arch/x86/