RFC objtool: Optimize !retpoline
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | objtool: Correctly handle retpoline thunk callstools/ | +12 | 0 replies | |
| 2/6 | objtool: Fix static_call list generationtools/ | +12 | 0 replies | |
| 3/6 | objtool: Rework rebuild_reloc logictools/ tools/ tools/ +1 more | +13 | 0 replies | |
| 4/6 | objtool: Add elf_create_undef_symbol()tools/ tools/ | +139 | 0 replies | |
| 5/6 | objtool: Allow archs to rewrite retpolinestools/ tools/ | +24 | 0 replies | |
| 6/6 | objtool,x86: Rewrite retpoline thunk callsarch/ tools/ | +230 | 11 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/6] objtool: Optimize !retpoline
Hi,
Here's a few patches that go on top of the previously posted series:
https://lkml.kernel.org/r/[email protected]
https://lkml.kernel.org/r/[email protected]
and can also be found, in full, here:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/wip
The purpose is to replace every compiler generated (tail) call to the retpoline thunks with an alternative, one that avoids the thunk when retpolines are disabled.
Very lightly tested...