Re: [PATCH] btrfs: extent_buffer_uptodate() make it static and inline

2018-02-13 Thread David Sterba
On Tue, Feb 13, 2018 at 09:18:51AM +0200, Nikolay Borisov wrote: > > > On 13.02.2018 06:35, Anand Jain wrote: > > extent_buffer_uptodate() is a trivial wrapper around test_bit() > > and nothing else. So make it static and inline, save on code > > space and call indirection. > > > > Before: > >

Re: [PATCH] btrfs: extent_buffer_uptodate() make it static and inline

2018-02-12 Thread Nikolay Borisov
On 13.02.2018 06:35, Anand Jain wrote: > extent_buffer_uptodate() is a trivial wrapper around test_bit() > and nothing else. So make it static and inline, save on code > space and call indirection. > > Before: >text data bss dec hex filename > 1131257 82898

[PATCH] btrfs: extent_buffer_uptodate() make it static and inline

2018-02-12 Thread Anand Jain
extent_buffer_uptodate() is a trivial wrapper around test_bit() and nothing else. So make it static and inline, save on code space and call indirection. Before: textdata bss dec hex filename 1131257 82898 18992 1233147 12d0fb fs/btrfs/btrfs.ko After: textdata