[PATCH] net: ipv4: inlining ip_send_check()

2015-08-18 Thread Christophe Leroy
ip_send_check() is a function that does nothing but calling ip_fast_csum() after having zeroed iph->check We get (on PPC) a quite long function for just that, as it requires setting the stack frame, saving volatile regs, restoring them after the call, etc ... c02d3e3c : c02d3e3c: 7c 08 02 a

Re: [PATCH] net: ipv4: inlining ip_send_check()

2015-08-18 Thread Eric Dumazet
On Tue, 2015-08-18 at 14:14 +0200, Christophe Leroy wrote: > ip_send_check() is a function that does nothing but calling > ip_fast_csum() after having zeroed iph->check > > We get (on PPC) a quite long function for just that, as it requires > setting the stack frame, saving volatile regs, restorin