summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-06-11 23:04:45 +0100
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:58:02 +0200
commit497c726ff824c9339e4dbd174f702b2dafb70aeb (patch)
treeccf006e412ae67a290347c9a572b327170c61fb9 /tools/perf/scripts/python/export-to-sqlite.py
parenta8da443c9b67c039fcf40cc5ea34f00a88291174 (diff)
btrfs: avoid double slot decrement at btrfs_convert_free_space_to_extents()
There's no need to subtract 1 from path->slots[0] and then decrement the slot, we can reduce the generated assembly code by decrementing the slot and then use it. Module size before: $ size fs/btrfs/btrfs.ko text data bss dec hex filename 1846220 162998 16136 2025354 1ee78a fs/btrfs/btrfs.ko Module size after: $ size fs/btrfs/btrfs.ko text data bss dec hex filename 1846204 162998 16136 2025338 1ee77a fs/btrfs/btrfs.ko Reviewed-by: Boris Burkov <boris@bur.io> 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions