summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-03 15:45:57 -0700
committerDavid Sterba <dsterba@suse.com>2026-08-07 19:17:17 +0200
commitf6c02cd048bd7db865a2e2d65cae78aea64444fa (patch)
treed11478cef2c90d234f8eb9c87a796d0ad46188dd /tools
parent01c2f41fc441f75b3f9326443372faceb1cb6638 (diff)
btrfs: compression: allocate heuristic buckets with workspace
Avoid allocating the heuristic buckets separately from the workspace, the lifetime is the same. The new size of struct heuristic_ws is 2112. SLUB merges same/similar sized structures for the named caches, so there's a chance such size already exists on the system, like below: $ grep 2112 /proc/slabinfo sighand_cache 593 1335 2112 15 8 Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions