diff options
author | 2025-07-01 23:01:56 +0100 | |
---|---|---|
committer | 2025-07-22 00:09:20 +0200 | |
commit | aee10fe4e4f6d9e3444b4309ae2187ce4e9fb00f (patch) | |
tree | 98f103563fe8d9edb335901936de2943ad55222b /tools/perf/scripts/python | |
parent | btrfs: avoid logging tree mod log elements for irrelevant extent buffers (diff) | |
download | wireguard-linux-aee10fe4e4f6d9e3444b4309ae2187ce4e9fb00f.tar.xz wireguard-linux-aee10fe4e4f6d9e3444b4309ae2187ce4e9fb00f.zip |
btrfs: reduce size of struct tree_mod_elem
Several members are used for specific types of tree mod log operations so
they can be placed in a union in order to reduce the structure's size.
This reduces the structure size from 112 bytes to 88 bytes on x86_64,
so we can now use the kmalloc-96 slab instead of the kmalloc-128 slab.
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')
0 files changed, 0 insertions, 0 deletions