aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2017-11-15 17:27:39 +0000
committerDavid Sterba <[email protected]>2018-01-22 15:08:14 +0000
commit431e98226cbcaab40b77aeef2e6ba20a47649962 (patch)
treebf541c68b1e5f2e7dee5c8cb4d0041c2de665af8 /fs/btrfs/dev-replace.c
parentbtrfs: reorder btrfs_transaction members for better packing (diff)
downloadkernel-431e98226cbcaab40b77aeef2e6ba20a47649962.tar.gz
kernel-431e98226cbcaab40b77aeef2e6ba20a47649962.zip
btrfs: move some zstd work data from stack to workspace
* ZSTD_inBuffer in_buf * ZSTD_outBuffer out_buf are used in all functions to pass the compression parameters and the local variables consume some space. We can move them to the workspace and reduce the stack consumption: zstd.c:zstd_decompress -24 (136 -> 112) zstd.c:zstd_decompress_bio -24 (144 -> 120) zstd.c:zstd_compress_pages -24 (264 -> 240) Signed-off-by: David Sterba <[email protected]> Reviewed-by: Nick Terrell <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions