RFC early kprobes: rearrange vmlinux.lds related code.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | early kprobes: ARM: add definition for vmlinux.lds use.arch/ | +10 | 0 replies | |
| 2/3 | early kprobes: x86: add definition for vmlinux.lds use.arch/ | +10 | 0 replies | |
| 3/3 | early kprobes: introduce early kprobes related code area.include/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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