aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-03-07 11:37:13 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 23:43:06 +1100
commitae3066bd1cbe58e596c791f72a36e576df5d9ed1 (patch)
tree62c3cb32111f029f4eb4c8a4022bde9bcfdfb369 /tools/perf/scripts/python/call-graph-from-sql.py
parentpowerpc/mm/slice: implement a slice mask cache (diff)
downloadlinux-ae3066bd1cbe58e596c791f72a36e576df5d9ed1.tar.gz
linux-ae3066bd1cbe58e596c791f72a36e576df5d9ed1.zip
powerpc/mm/slice: implement slice_check_range_fits
Rather than build slice masks from a range then use that to check for fit in a candidate mask, implement slice_check_range_fits that checks if a range fits in a mask directly. This allows several structures to be removed from stacks, and also we don't expect a huge range in a lot of these cases, so building and comparing a full mask is going to be more expensive than testing just one or two bits of the range. On POWER8, this increases vfork+exec+exit performance by 0.3% and reduces time to mmap+munmap a 64kB page by 5%. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions