aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2018-09-15 01:30:50 +1000
committerMichael Ellerman <[email protected]>2018-09-19 21:59:44 +1000
commit82d8f4c22f3514eface7e082750bc917193d91f9 (patch)
treefb4623b052c28a5caf07bd2ff128d7931fe3ce30 /tools/perf/scripts/python
parent5141c182d75b4004c41ac2dc5af081b457b3e8cb (diff)
powerpc/64s/hash: Use POWER9 SLBIA IH=3 variant in switch_slb
POWER9 introduces SLBIA IH=3, which invalidates all SLB entries and associated lookaside information that have a class value of 1, which Linux assigns to user addresses. This matches what switch_slb wants, and allows a simple fast implementation that avoids the slb_cache complexity. As a side-effect, the POWER5 < DD2.1 SLB invalidation workaround is also avoided on POWER9. Process context switching rate is improved about 2.2% for a small process that hits the slb cache which is the best case for the current code. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions