summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-01-20 11:55:14 +0000
committerDavid Sterba <dsterba@suse.com>2026-02-03 07:56:18 +0100
commite46a9f84bfe8f3662b3ae8ad183d6067888b5469 (patch)
tree6fdea02e005ed19c7a225bc31783e20dadfa798b /include/linux/i2c/git@git.tavy.me:linux.git
parent17078525e5be48381a35068535feb9adb36635f3 (diff)
btrfs: allocate path on stack in load_block_group_size_class()
Instead of allocating and freeing a path in every iteration of load_block_group_size_class(), through its helper function sample_block_group_extent_item(), allocate the path in the former and pass it to the later. The path is allocated on stack since it's short and we are in a workqueue context so there's not much stack usage. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> 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 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions