]> 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)
commitb8ff39ed6742f98cb02bae70d3f3e873d0fbba12
tree41e04c2694020c223660ddcaf48dec610134aa3a
parentf860b361d801aefbaf73e56bea0acfd26ed6e227
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