Skip to content

perf/x86, jump_label: Cure serialization issues

Thomas Gleixner lkml 1 version Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf/x86: Serialize set_attr_rdpmc()arch/x86/events/core.c+3 -00 replies
2/4jump_label: Fix concurrency issues in static_key_slow_dec()kernel/jump_label.c+22 -162 replies
3/4jump_label: Clarify condition in static_key_fast_inc_not_disabled()kernel/jump_label.c+6 -30 replies
4/4jump_label: Simplify and clarify static_key_fast_inc_cpus_locked()kernel/jump_label.c+11 -91 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] perf/x86, jump_label: Cure serialization issues

Yue and Xingwei reported a syzkaller crash related to the rdpmc attribute file and jump labels. It turns out to be lack of serialization in the attribute write path and non-robustness on the jump label side.

The following series addresses these issues.

Thanks,

tglx

---
 arch/x86/events/core.c |    3 ++
 kernel/jump_label.c    |   67 ++++++++++++++++++++++++++++---------------------
 2 files changed, 42 insertions(+), 28 deletions(-)