aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2018-03-06 17:30:34 -0800
committerDarrick J. Wong <[email protected]>2018-03-11 20:27:56 -0700
commitae23395d8858a0c91de978a60b317ec8468b2aba (patch)
treee5fbc63f66da6f754dde9a57d8952b511190bffa /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta78ee256c325ecfaec13cafc41b315bd4e1dd518 (diff)
inode: don't memset the inode address space twice
Noticed when looking at why cycling 600k inodes/s through the inode cache was taking a total of 8% cpu in memset() during inode initialisation. There is no need to zero the inode.i_data structure twice. This increases single threaded bulkstat throughput from ~200,000 inodes/s to ~220,000 inodes/s, so we save a substantial amount of CPU time per inode init by doing this. Signed-Off-By: Dave Chinner <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Carlos Maiolino <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions