diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-06-02 13:46:23 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:53:30 +0200 |
| commit | 2697b6159744e5afae0f7715da9f830ba6f9e45a (patch) | |
| tree | e8f38fb2dbcbc2a0bd38ce2b7fb0f44cdab04c3d /include/trace | |
| parent | btrfs: reorganize logic at free_extent_buffer() for better readability (diff) | |
| download | linux-2697b6159744e5afae0f7715da9f830ba6f9e45a.tar.gz linux-2697b6159744e5afae0f7715da9f830ba6f9e45a.zip | |
btrfs: add comment for optimization in free_extent_buffer()
There's this special atomic compare and exchange logic which serves to
avoid locking the extent buffers refs_lock spinlock and therefore reduce
lock contention, so add a comment to make it more obvious.
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 'include/trace')
0 files changed, 0 insertions, 0 deletions
