commit | b6416e61012429e0277bd15a229222fd17afc1c1 | [log] [tgz] |
---|---|---|
author | David Matlack <dmatlack@google.com> | Fri Dec 16 14:30:35 2016 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jan 12 14:33:16 2017 +0100 |
tree | 41e04c2694020c223660ddcaf48dec610134aa3a | |
parent | a121103c922847ba5010819a3f250f1f7fc84ab8 [diff] |
jump_labels: API for flushing deferred jump label updates 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. Signed-off-by: David Matlack <dmatlack@google.com> Cc: stable@vger.kernel.org Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>