aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-05-27 15:28:18 +0800
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:44:34 +0200
commit381b9b4c9cf968c3154d1bad736d11559a38f1c9 (patch)
tree123ee8d572330ef896c67f3b33747a4a5e15a486 /scripts/stackusage
parentbtrfs: use integrated bitmaps for btrfs_raid_bio::dbitmap and finish_pbitmap (diff)
btrfs: use integrated bitmaps for scrub_parity::dbitmap and ebitmap
Previously we use "unsigned long *" for those two bitmaps. But since we only support fixed stripe length (64KiB, already checked in tree-checker), "unsigned long *" is really a waste of memory, while we can just use "unsigned long". This saves us 8 bytes in total for scrub_parity. To be extra safe, add an ASSERT() making sure calclulated @nsectors is always smaller than BITS_PER_LONG. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions