Skip to content

jump label v9

Jason Baron lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13jump label v9: notifier atomic call chain notracekernel/notifier.c+3 -32 replies
2/13jump label v9: base patchMakefile arch/Kconfig include/asm-generic/vmlinux.lds.h +4 more+258 -27 replies
3/13jump label v9: x86 supportarch/x86/Kconfig arch/x86/include/asm/jump_label.h arch/x86/kernel/Makefile +1 more+110 -117 replies
4/13jump label v9: tracepoint supportinclude/linux/tracepoint.h kernel/tracepoint.c+14 -21 reply
5/13jump label v9: add module supportarch/x86/kernel/ptrace.c include/linux/jump_label.h include/linux/module.h +2 more+150 -20 replies
6/13jump label v9: move ftrace_dyn_arch_init to common codearch/x86/include/asm/alternative.h arch/x86/include/asm/jump_label.h arch/x86/kernel/alternative.c +7 more+140 -1061 reply
7/13jump label v9: sort jump table at build-timeMakefile include/asm-generic/vmlinux.lds.h scripts/mod/Makefile +2 more+103 -70 replies
8/13jump label v9: initialize workqueue tracepoints *before* they are registeredkernel/trace/trace_workqueue.c+5 -50 replies
9/13jump label v9: jump_label_text_reserved() to reserve our jump pointsarch/x86/kernel/kprobes.c include/linux/jump_label.h kernel/jump_label.c +1 more+93 -20 replies
10/13jump label v9: convert jump label to use a keyarch/x86/include/asm/jump_label.h include/linux/jump_label.h include/linux/tracepoint.h +4 more+45 -724 replies
11/13jump label v9: convert dynamic debug to use jump labels.include/linux/dynamic_debug.h lib/dynamic_debug.c scripts/Makefile.lib +2 more+27 -1340 replies
12/13jump label v9: sparc64 add jump_label supportarch/sparc/Kconfig arch/sparc/include/asm/jump_label.h arch/sparc/kernel/Makefile +2 more+79 -00 replies
13/13jump label v9: add docsDocumentation/jump-label.txt+151 -01 reply

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by.

PatchMasami Hiramatsu
1/13R-b
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13A-b
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] jump label v9

Hi,

updates for -v9:

*build time detection of gcc 'asm goto' feature via scripts/gcc-goto.sh, which basically tries to compile a simple 'asm goto' c program, and if it succeeds we define CC_HAVE_ASM_GOTO. In this way we detect the 4.5 gcc feature if its backported, as it has been done to 4.4 gcc in fedora.

*misc cleanups and simplifications.

thanks,

-Jason

David S. Miller (1):
sparc64: Add jump_label support

Jason Baron (11):
jump label: base patch
jump label: x86 support
jump label: tracepoint support
jump label: add module support
jump label: move ftrace_dyn_arch_init to common code jump label: sort jump table at build-time
jump label: initialize workqueue tracepoints *before* they are
registered
jump label: jump_label_text_reserved() to reserve our jump points jump label: convert jump label to use a key
jump label: convert dynamic debug to use jump labels. jump label: add docs

Mathieu Desnoyers (1):
jump label: notifier atomic call chain notrace

 Documentation/jump-label.txt        |  151 +++++++++++++
 Makefile                            |   11 +-
 arch/Kconfig                        |    3 +
 arch/sparc/Kconfig                  |    1 +
 arch/sparc/include/asm/jump_label.h |   32 +++
 arch/sparc/kernel/Makefile          |    2 +
 arch/sparc/kernel/jump_label.c      |   38 +++
 arch/sparc/kernel/module.c          |    6 +
 arch/x86/Kconfig                    |    1 +
 arch/x86/include/asm/alternative.h  |   14 ++
 arch/x86/include/asm/jump_label.h   |   47 ++++
 arch/x86/kernel/Makefile            |    2 +-
 arch/x86/kernel/alternative.c       |   72 ++++++-
 arch/x86/kernel/ftrace.c            |   70 +------
 arch/x86/kernel/jump_label.c        |   47 ++++
 arch/x86/kernel/kprobes.c           |    3 +-
 arch/x86/kernel/module.c            |    3 +
 arch/x86/kernel/ptrace.c            |    1 +
 arch/x86/kernel/setup.c             |    3 +
 include/asm-generic/vmlinux.lds.h   |   22 ++-
 include/linux/dynamic_debug.h       |   42 ++--
 include/linux/jump_label.h          |   59 +++++
 include/linux/module.h              |    5 +-
 include/linux/tracepoint.h          |    7 +-
 kernel/Makefile                     |    2 +-
 kernel/jump_label.c                 |  426 +++++++++++++++++++++++++++++++++++
 kernel/kprobes.c                    |    3 +-
 kernel/module.c                     |    7 +
 kernel/notifier.c                   |    6 +-
 kernel/trace/ftrace.c               |   13 +-
 kernel/trace/trace_workqueue.c      |   10 +-
 kernel/tracepoint.c                 |    8 +
 lib/dynamic_debug.c                 |   42 +----
 scripts/Makefile.lib                |   11 +-
 scripts/basic/Makefile              |    2 +-
 scripts/basic/hash.c                |   64 ------
 scripts/gcc-goto.sh                 |    5 +
 scripts/mod/Makefile                |    1 +
 scripts/mod/modpost.c               |   73 ++++++-
 scripts/mod/modpost.h               |    1 +
 40 files changed, 1077 insertions(+), 237 deletions(-)
 create mode 100644 Documentation/jump-label.txt
 create mode 100644 arch/sparc/include/asm/jump_label.h
 create mode 100644 arch/sparc/kernel/jump_label.c
 create mode 100644 arch/x86/include/asm/jump_label.h
 create mode 100644 arch/x86/kernel/jump_label.c
 create mode 100644 include/linux/jump_label.h
 create mode 100644 kernel/jump_label.c
 delete mode 100644 scripts/basic/hash.c
 create mode 100644 scripts/gcc-goto.sh