Skip to content

RFC early kprobes: rearrange vmlinux.lds related code.

Wang Nan linux-arm-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3early kprobes: ARM: add definition for vmlinux.lds use.arch/arm/kernel/vmlinux.lds.S+10 -00 replies
2/3early kprobes: x86: add definition for vmlinux.lds use.arch/x86/kernel/vmlinux.lds.S+10 -00 replies
3/3early kprobes: introduce early kprobes related code area.include/asm-generic/vmlinux.lds.h+18 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] early kprobes: rearrange vmlinux.lds related code.

This is part of early kprobes patch series update. Full series can be found from [1].

Early kprobes need some statically allocated slots, which is determined during linking by vmlinux.lds.S. Russell King suggests me not to spread vmlinux stuff around the kernel include files. This series tries to extract common code to include/asm-generic/vmlinux.lds.h and let arch dependent code define macros common code requires.

[1]: https://lkml.org/lkml/2015/2/13/24

Wang Nan (3):
early kprobes: ARM: add definition for vmlinux.lds use. early kprobes: x86: add definition for vmlinux.lds use. early kprobes: introduce early kprobes related code area.

 arch/arm/kernel/vmlinux.lds.S     | 10 ++++++++++
 arch/x86/kernel/vmlinux.lds.S     | 10 ++++++++++
 include/asm-generic/vmlinux.lds.h | 19 ++++++++++++++++++-
 3 files changed, 38 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.4