]> git.baikalelectronics.ru Git - kernel.git/commit
jump_labels: API for flushing deferred jump label updates
authorDavid Matlack <dmatlack@google.com>
Fri, 16 Dec 2016 22:30:35 +0000 (14:30 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Jan 2017 13:33:16 +0000 (14:33 +0100)
commit7a124c18d8b3f8ee8721dcb887d52c98bb2222f1
tree41e04c2694020c223660ddcaf48dec610134aa3a
parent56bfd77d2de4945a1b3920bf962cd2407ff74379
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>
include/linux/jump_label_ratelimit.h
kernel/jump_label.c