diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-03-13 19:31:17 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 22:35:55 +0300 |
commit | 6f7d81d88bf099b00ebba61eb9834e8b78862849 (patch) | |
tree | 411363db70a94b35122d5a9d47c5d20a191b9446 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e0d5e3b743f93953229bbbf36d9ca5b4893b515e (diff) | |
download | linux-6f7d81d88bf099b00ebba61eb9834e8b78862849.tar.xz |
btrfs: use memcmp_extent_buffer() at replay_one_extent()
Instead of using memcmp(), which requires copying both file extent items
from each extent buffer into a local buffer, use memcmp_extent_buffer() so
that we only need to copy one of the file extent items and directly use
the extent buffer of the other file extent item for the comparison.
This reduces code size, saves one memory copy and reduces stack usage.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions