aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-03-07 11:37:16 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 23:43:08 +1100
commitd262bd5a73998252d1cdf632bedaf1ca540839d8 (patch)
treedbb92a59ad57224ed688c13fdb0b1b6ceb8b975e /tools/perf/scripts/python/export-to-sqlite.py
parentpowerpc/mm/slice: remove dead code (diff)
downloadlinux-d262bd5a73998252d1cdf632bedaf1ca540839d8.tar.gz
linux-d262bd5a73998252d1cdf632bedaf1ca540839d8.zip
powerpc/mm/slice: Use const pointers to cached slice masks where possible
The slice_mask cache was a basic conversion which copied the slice mask into caller's structures, because that's how the original code worked. In most cases the pointer can be used directly instead, saving a copy and an on-stack structure. On POWER8, this increases vfork+exec+exit performance by 0.3% and reduces time to mmap+munmap a 64kB page by 2%. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions