Re: [PATCH 1/3] btrfs: add __cold attribute to more functions

2019-10-04 Thread David Sterba
On Wed, Oct 02, 2019 at 01:52:16PM +0300, Nikolay Borisov wrote: > On 1.10.19 г. 20:57 ч., David Sterba wrote: > > 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 f

Re: [PATCH 1/3] btrfs: add __cold attribute to more functions

2019-10-02 Thread Nikolay Borisov
On 1.10.19 г. 20:57 ч., David Sterba wrote: > 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 -Wsugges

[PATCH 1/3] btrfs: add __cold attribute to more functions

2019-10-01 Thread David Sterba
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 decr