aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2017-04-19 14:56:24 +0200
committerMichael Ellerman <[email protected]>2017-06-02 19:10:24 +1000
commite8de85ca32f572f5dee00733022d8a1ce87aed3d (patch)
treea9ae6517de277020b14ea2fa0244fc04fdbd6c79 /tools/perf/scripts
parent9affa9e228d3ece66ed322909e84cfb08f6c4c64 (diff)
powerpc/mm: Only call store_updates_sp() on stores in do_page_fault()
Function store_updates_sp() checks whether the faulting instruction is a store updating r1. Therefore we can limit its calls to store exceptions. This patch is an improvement of commit a7a9dcd882a67 ("powerpc: Avoid taking a data miss on every userspace instruction miss") With the same microbenchmark app, run with 500 as argument, on an MPC885 we get: Before this patch: 152000 DTLB misses After this patch: 147000 DTLB misses Signed-off-by: Christophe Leroy <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions