Skip to content

jump label: introduce very_[un]likely + cleanups + docs

Jason Baron lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 68 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10jump label: Add a WARN() if jump label key count goes negativekernel/jump_label.c+4 -11 reply
2/10jump label: fix compiler warningkernel/jump_label.c+1 -11 reply
3/10jump label: introduce very_unlikely()include/linux/jump_label.h+14 -00 replies
4/10jump label: introduce very_likely()include/linux/jump_label.h kernel/jump_label.c+115 -460 replies
5/10perf: update to use 'very_unlikely()'include/linux/perf_event.h+3 -30 replies
6/10tracepoints: update to use very_unlikely()include/linux/tracepoint.h kernel/tracepoint.c+8 -80 replies
7/10sched: update to use very_[un]likely()include/linux/jump_label.h kernel/sched/core.c kernel/sched/fair.c +1 more+9 -110 replies
8/10kvm: update to use very_unlikely()arch/x86/kvm/mmu_audit.c+1 -10 replies
9/10net: update to use very_unlikely()include/linux/netfilter.h include/net/sock.h net/core/dev.c+6 -60 replies
10/10jump label: Add docs better explaining the whole jump label mechanismDocumentation/jump-label.txt+258 -01 reply

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteven RostedtJason BaronMathieu Desnoyers
SeriesA-b A-b A-b A-b A-b A-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] jump label: introduce very_[un]likely + cleanups + docs

Hi,

Renames 'static_branch()' -> very_unlikely(), hopefully, to be more intuitive as to what jump labels is about. I'm also introducing 'very_likely()', as the analogue to very_unlikely(). Patch is against the -tip perf branch.

Thanks,

-Jason

Jason Baron (10):
jump label: Add a WARN() if jump label key count goes negative jump label: fix compiler warning
jump label: introduce very_unlikely()
jump label: introduce very_likely()
perf: update to use very_unlikely()
tracepoints: update to use very_unlikely()
sched: update to use very_[un]likely()
kvm: update to use very_unlikely()
net: update to use very_unlikely()
jump label: Add docs better explaining the whole jump label mechanism

 Documentation/jump-label.txt |  258 ++++++++++++++++++++++++++++++++++++++++++
 arch/x86/kvm/mmu_audit.c     |    2 +-
 include/linux/jump_label.h   |   99 +++++++++++++---
 include/linux/netfilter.h    |    2 +-
 include/linux/perf_event.h   |    6 +-
 include/linux/tracepoint.h   |    4 +-
 include/net/sock.h           |    2 +-
 kernel/jump_label.c          |   79 ++++++++-----
 kernel/sched/core.c          |   12 +-
 kernel/sched/fair.c          |    2 +-
 kernel/sched/sched.h         |    4 +-
 kernel/tracepoint.c          |   12 +-
 net/core/dev.c               |    8 +-
 13 files changed, 416 insertions(+), 74 deletions(-)
 create mode 100644 Documentation/jump-label.txt
Signature · 1 line
1.7.7.5