aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2016-09-15 19:04:46 +1000
committerMichael Ellerman <[email protected]>2016-09-20 15:56:45 +1000
commit49d09bf2a66f4b5a6eabefb0d4c0f03f21810553 (patch)
tree9c8bb1a0c748924d1f6072de09d17357834a3941 /tools/perf/scripts/python/sched-migration.py
parent18e3f56b1cacb96017e2a66844ceceefabf6e7bc (diff)
powerpc/64s: Optimise MSR handling in exception handling
mtmsrd with L=1 only affects MSR_EE and MSR_RI bits, and we always know what state those bits are, so the kernel MSR does not need to be loaded when modifying them. mtmsrd is often in the critical execution path, so avoiding dependency on even L1 load is noticable. On a POWER8 this saves about 3 cycles from the syscall path, and possibly a few from other exception returns (not measured). Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions