diff options
| author | Christophe Leroy <[email protected]> | 2021-05-06 13:27:31 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-05-17 15:27:16 +1000 |
| commit | 8af8d72dc58e90dc945ca627b24968400e0f21b6 (patch) | |
| tree | d218e8689bf2b4700c760216547f137b1f56ccda /tools/perf/scripts/python | |
| parent | 0441729e16379649ea0f393a5be68a19ba384d94 (diff) | |
powerpc/32s: Speed up likely path of kuap_update_sr()
In most cases, kuap_update_sr() will update a single segment
register.
We know that first update will always be done, if there is no
segment register to update at all, kuap_update_sr() is not
called.
Avoid recurring calculations and tests in that case.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/848f18d213b8341939add7302dc4ef80cc7a12e3.1620307636.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions