]> git.baikalelectronics.ru Git - kernel.git/commit
pppoatm: do not inline pppoatm_may_send()
authorKrzysztof Mazur <krzysiek@podlesie.net>
Tue, 6 Nov 2012 22:17:02 +0000 (23:17 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Nov 2012 12:23:19 +0000 (12:23 +0000)
commitf3c9c5636e1e08a31b92f62605891f24ddac97a8
treed846278a477a9a7fb7b5f428ea9e76327a681b15
parent45ff79ec37d1d985f56194b20619a1abb4ed936c
pppoatm: do not inline pppoatm_may_send()

The pppoatm_may_send() is quite heavy and it's called three times
in pppoatm_send() and inlining costs more than 200 bytes of code
(more than 10% of total pppoatm driver code size).

add/remove: 1/0 grow/shrink: 0/1 up/down: 132/-367 (-235)
function                                     old     new   delta
pppoatm_may_send                               -     132    +132
pppoatm_send                                 900     533    -367

Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
net/atm/pppoatm.c