Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jump_label: jump_label_inc may return before the code is patched
If cpu A calls jump_label_inc() just after atomic_add_return() is called by cpu B, atomic_inc_not_zero() will return value greater then zero and jump_label_inc() will return to a caller before jump_label_update() finishes its job on cpu B. Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Cc: Peter Zijlstra <[email protected]> Acked-by: Jason Baron <[email protected]> Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
- Loading branch information