aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2019-10-01 17:57:35 +0000
committerDavid Sterba <[email protected]>2019-11-18 11:46:52 +0000
commitb105e92755b448efd4800e3415dfeae5ad8054e9 (patch)
treebdc1e8adbd8170d5089ce07eca11e6a1b9901cd3 /fs/btrfs/dev-replace.c
parentbtrfs: drop unused parameter is_new from btrfs_iget (diff)
downloadkernel-b105e92755b448efd4800e3415dfeae5ad8054e9.tar.gz
kernel-b105e92755b448efd4800e3415dfeae5ad8054e9.zip
btrfs: add __cold attribute to more functions
The attribute can mark functions supposed to be called rarely if at all and the text can be moved to sections far from the other code. The attribute has been added to several functions already, this patch is based on hints given by gcc -Wsuggest-attribute=cold. The net effect of this patch is decrease of btrfs.ko by 1000-1300, depending on the config options. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions