mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
bcachefs: Heap allocate btree_trans
We're using more stack than we'd like in a number of functions, and btree_trans is the biggest object that we stack allocate. But we have to do a heap allocatation to initialize it anyways, so there's no real downside to heap allocating the entire thing. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
96dea3d599
commit
6bd68ec266
47 changed files with 731 additions and 877 deletions
166
fs/bcachefs/fs.c
166
fs/bcachefs/fs.c
Loading…
Add table
Add a link
Reference in a new issue