| Date | Tue, 18 Aug 2020 15:57:35 +0200 | From | Peter Zijlstra <> | Subject | [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
|