[PATCH v3 0/3] jump_label: Robustify jump label patching

From: Josh Poimboeuf
Date: Sun Feb 18 2018 - 20:18:06 EST


v3:
- Make init_kernel_text() global
- Use braces in multi-line 'for' statements

v2:
- Refine the warning so that it doesn't warn about __init entries
- (Do so by explicitly disabling __init entries)
- Drop v1 patches which removed __init tracepoints

Josh Poimboeuf (3):
jump_label: Explicitly disable jump labels in __init code
jump_label: Warn on failed jump_label patch
extable: Make init_kernel_text() global

arch/x86/kernel/unwind_orc.c | 3 +--
include/linux/jump_label.h | 3 +++
include/linux/kernel.h | 1 +
init/main.c | 2 ++
kernel/extable.c | 2 +-
kernel/jump_label.c | 27 ++++++++++++++++++++++-----
6 files changed, 30 insertions(+), 8 deletions(-)

--
2.14.3