summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-04-30 18:57:55 +0300
committerDavid Sterba <dsterba@suse.com>2020-05-25 12:25:34 +0300
commitf472d3c28385397b1a2891c4ec264b90cd6d2187 (patch)
tree0670f22721df5ebe4b0e121f400386afb963e615 /tools/perf/scripts/python/syscall-counts.py
parentf4ca8c51d12631f1297d093f767c3a5ce5b95aff (diff)
downloadlinux-f472d3c28385397b1a2891c4ec264b90cd6d2187.tar.xz
btrfs: optimize split page write in btrfs_set_token_##bits
The fallback path calls helper write_extent_buffer to do write of the data spanning two extent buffer pages. As the size is known, we can do the write directly in two steps. This removes one function call and compiler can optimize memcpy as the sizes are known at compile time. The cached token address is set to the second page. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions