Messages in this thread | | | Date | Tue, 21 Feb 2012 15:02:49 -0500 | From | Jason Baron <> | Subject | [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
-- 1.7.7.5
| |