Re: [PATCH] fs/gfs2/glock.c: Deinline do_error, save 1856 bytes

From: Denys Vlasenko
Date: Fri Apr 08 2016 - 15:46:25 EST


On 04/08/2016 09:17 PM, Bob Peterson wrote:
> ----- Original Message -----
>> This function compiles to 522 bytes of machine code.
>>
> Is there a reason why you want to trade memory for speed? Are you
> optimizing for memory on an embedded device or something?

Yes. I did a scan for really large inlines and this function came up.
If you feel it is indeed performance critical, please ignore my patch.