lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] drivers/atm/ambassador.c: stop inlining largish static functions
From
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Tue, 1 Apr 2008 03:14:58 +0200

> This patch removes "inline" from these static functions
> (regardless of number of callsites - gcc nowadays auto-inlines
> statics with one callsite).
>
> Size difference for 32bit x86:
> text data bss dec hex filename
> 10209 8488 4 18701 490d linux-2.6-ALLYES/drivers/atm/ambassador.o
> 9462 8488 4 17954 4622 linux-2.6.inline-ALLYES/drivers/atm/ambassador.o
>
> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

I've applied this to net-2.6.26, if John doesn't like it we
can fix it or revert.


\
 
 \ /
  Last update: 2008-04-04 00:03    [W:0.062 / U:0.188 seconds]
©2003-2011 Jasper Spaans