Add static_call
Status from this message: The following commit has been merged into the core/static_call branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest18 patches 4 repliesApplied
- v617 patches 29 repliesSuperseded
- v517 patches 2 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 18 patches | 40 replies | Superseded | |
| v3 | 17 patches | 33 replies | Superseded | |
| v2 | 13 patches | 2 replies | Superseded |
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | notifier: Fix broken error handling patterninclude/ kernel/ kernel/ +6 more | +147 | 0 replies | |
| 2/18 | module: Fix up module_notifier return valuesdrivers/ kernel/ kernel/ +3 more | +13 | 0 replies | |
| 3/18 | module: Properly propagate MODULE_STATE_COMING failurekernel/ | +7 | 0 replies | |
| 4/18 | jump_label,module: Fix module lifetime for __jump_label_mod_text_reservedkernel/ | +8 | 0 replies | |
| 5/18 | compiler.h: Make __ADDRESSABLE() symbol truly uniqueinclude/ | +1 | 0 replies | |
| 6/18 | static_call: Add basic static call infrastructurearch/ include/ include/ | +174 | 0 replies | |
| 7/18 | static_call: Add inline static call infrastructurearch/ include/ include/ +5 more | +373 | 0 replies | |
| 8/18 | static_call: Avoid kprobes on inline static_call()sarch/ include/ kernel/ +1 more | +84 | 4 replies | |
| 9/18 | x86/static_call: Add out-of-line static call implementationarch/ arch/ arch/ +1 more | +56 | 0 replies | |
| 10/18 | x86/static_call: Add inline static call implementation for x86-64arch/ arch/ arch/ +10 more | +193 | 0 replies | |
| 11/18 | static_call: Simple self-testarch/ kernel/ | +49 | 0 replies | |
| 12/18 | x86/alternatives: Teach text_poke_bp() to emulate RETarch/ arch/ | +24 | 0 replies | |
| 13/18 | static_call: Add static_call_cond()arch/ arch/ include/ | +127 | 0 replies | |
| 14/18 | static_call: Handle tail-callsarch/ include/ include/ +3 more | +60 | 0 replies | |
| 15/18 | static_call: Add some validationarch/ | +26 | 0 replies | |
| 16/18 | static_call: Allow early initarch/ arch/ include/ +1 more | +85 | 0 replies | |
| 17/18 | tracepoint: Optimize using static_call()include/ include/ include/ +1 more | +94 | 0 replies | |
| 18/18 | x86/perf, static_call: Optimize x86_pmu methodsarch/ | +94 | 0 replies |
Reviews trailers per patch
10 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Steven Rostedt (VMware) | Ard Biesheuvel | Mathieu Desnoyers | Joel Fernandes (Google) | Robert Richter | Miroslav Benes | Jessica Yu | Josh Poimboeuf | Rafael J. Wysocki | Masami Hiramatsu |
|---|---|---|---|---|---|---|---|---|---|---|
| 1/18 | A-b | |||||||||
| 2/18 | A-b | R-b | R-b | R-b | ||||||
| 3/18 | R-b | A-b | A-b | |||||||
| 4/18 | R-b | |||||||||
| 5/18 | A-b | |||||||||
| 6/18 | R-b | |||||||||
| 7/18 | R-b | |||||||||
| 8/18 | A-b | |||||||||
| 9/18 | ||||||||||
| 10/18 | ||||||||||
| 11/18 | ||||||||||
| 12/18 | R-b | |||||||||
| 13/18 | ||||||||||
| 14/18 | ||||||||||
| 15/18 | Requested-by | |||||||||
| 16/18 | R-b | |||||||||
| 17/18 | ||||||||||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.
Cover letter [PATCH v7 00/18] Add static_call
Hi all,
static_call(), is the idea of static_branch() applied to indirect function calls. Remove a data load (indirection) by modifying the text.
The inline implementation still relies on objtool to generate the .static_call_sites section, mostly because this is a natural place for x86_64 and works for both GCC and LLVM. Other architectures can pick other means if/when they implement the inline patching. The out-of-line (aka. trampoline) variant doesn't require this.
Patches go on top of linus' tree.
Changes since last time:
- rebased
- review feedback from Steve