diff options
author | 2021-04-01 16:23:42 -0700 | |
---|---|---|
committer | 2021-04-08 14:05:19 +0200 | |
commit | 0d66ccc1627013c95f1e7ef10b95b8451cd7834e (patch) | |
tree | e313d2e817100022f160bad42e2fd8e7eab3c4bf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Linux 5.12-rc6 (diff) | |
download | wireguard-linux-0d66ccc1627013c95f1e7ef10b95b8451cd7834e.tar.xz wireguard-linux-0d66ccc1627013c95f1e7ef10b95b8451cd7834e.zip |
jump_label: Provide CONFIG-driven build state defaults
As shown in the comment in jump_label.h, choosing the initial state of
static branches changes the assembly layout. If the condition is expected
to be likely it's inline, and if unlikely it is out of line via a jump.
A few places in the kernel use (or could be using) a CONFIG to choose the
default state, which would give a small performance benefit to their
compile-time declared default. Provide the infrastructure to do this.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210401232347.2791257-2-keescook@chromium.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions