diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-05-09 08:36:03 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-19 16:11:28 +0300 |
commit | d2f47dabf1252520a88d257133e6bdec474fd935 (patch) | |
tree | a59457a9458197d0f989db9b053d888fcdc40c8a /scripts/generate_rust_analyzer.py | |
parent | a1facd2578b312770aaea384adc7de0ed3f543d1 (diff) | |
download | linux-d2f47dabf1252520a88d257133e6bdec474fd935.tar.xz |
powerpc/code-patching: Inline create_branch()
create_branch() is a good candidate for inlining because:
- Flags can be folded in.
- Range tests are likely to be already done.
Hence reducing the create_branch() to only a set of instructions.
So inline it.
It improves ftrace activation by 10%.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/69851cc9a7bf8f03d025e6d29e165f2d0bd3bb6e.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions