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

From: Jason Baron
Date: Tue Feb 21 2012 - 15:03:04 EST


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

--
1.7.7.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/