Re: [PATCH 1/2] jump_labels: API for flushing deferred jump label updates

From: Paolo Bonzini
Date: Thu Dec 22 2016 - 07:36:03 EST




On 19/12/2016 15:58, Peter Zijlstra wrote:
> On Fri, Dec 16, 2016 at 02:30:35PM -0800, David Matlack wrote:
>> Modules that use static_key_deferred need a way to synchronize with
>> any delayed work that is still pending when the module is unloaded.
>> Introduce static_key_deferred_flush() which flushes any pending
>> jump label updates.
>
> Makes sense I suppose.
>
> It also appears I forgot to provide new style APIs for this
> functionality as I completely forgot about it for it lives in its own
> file :-/
>
> In any case,
>
> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Thanks, I'll merge these through the KVM tree.

Paolo