Re: [PATCH] net/sctp/ulpevent.c: Deinline sctp_ulpevent_set_owner, save 1616 bytes

2017-06-21 Thread David Miller
From: Joe Perches Date: Wed, 21 Jun 2017 12:19:10 -0700 > On Wed, 2017-06-21 at 18:28 +0200, Denys Vlasenko wrote: >> This function compiles to 147 bytes of machine code. 13 callsites. >> >> I'm no expert on SCTP events, but quick reading of SCTP docs tells me that >> SCTP events are not happeni

Re: [PATCH] net/sctp/ulpevent.c: Deinline sctp_ulpevent_set_owner, save 1616 bytes

2017-06-21 Thread Joe Perches
On Wed, 2017-06-21 at 18:28 +0200, Denys Vlasenko wrote: > This function compiles to 147 bytes of machine code. 13 callsites. > > I'm no expert on SCTP events, but quick reading of SCTP docs tells me that > SCTP events are not happening on every packet. > They are ASSOC_CHANGE, PEER_ADDR_CHANGE, R

Re: [PATCH] net/sctp/ulpevent.c: Deinline sctp_ulpevent_set_owner, save 1616 bytes

2017-06-21 Thread Marcelo Ricardo Leitner
On Wed, Jun 21, 2017 at 06:28:09PM +0200, Denys Vlasenko wrote: > This function compiles to 147 bytes of machine code. 13 callsites. > > I'm no expert on SCTP events, but quick reading of SCTP docs tells me that > SCTP events are not happening on every packet. > They are ASSOC_CHANGE, PEER_ADDR_CH