diff options
author | David Sterba <dsterba@suse.com> | 2015-12-03 14:08:11 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-12-03 14:17:30 +0100 |
commit | e83b1d91f872a4cf7bf0d3528044fc9e43260e2b (patch) | |
tree | b3bfff179958a9fd28bb1aac4ec76967564e7343 /net | |
parent | c63179556af1335585e53cd8a23da40bf69cb2e2 (diff) | |
download | op-kernel-dev-e83b1d91f872a4cf7bf0d3528044fc9e43260e2b.zip op-kernel-dev-e83b1d91f872a4cf7bf0d3528044fc9e43260e2b.tar.gz |
btrfs: make clear_extent_bit helpers static inline
The funcions just wrap the clear_extent_bit API and generate function
calls. This increases stack consumption and may negatively affect
performance due to icache misses. We can simply make the helpers static
inline and keep the type checking and API untouched. The code slightly
decreases:
text data bss dec hex filename
938667 43670 23144 1005481 f57a9 fs/btrfs/btrfs.ko.before
939651 43670 23144 1006465 f5b81 fs/btrfs/btrfs.ko.after
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions