[tipc-discussion] [PATCH net-next 1/1] tipc: remove pre-allocated message header in link struct

2016-03-01 Thread Jon Maloy
Until now, we have kept a pre-allocated protocol message header aggregated into struct tipc_link. Apart from adding unnecessary footprint to the link instances, this requires extra code both to initialize and re-initialize it. We now remove this sub-optimization. This change also makes it possible

[tipc-discussion] [PATCH net-next 1/1] tipc: remove pre-allocated message header in link struct

2016-03-03 Thread Jon Maloy
Until now, we have kept a pre-allocated protocol message header aggregated into struct tipc_link. Apart from adding unnecessary footprint to the link instances, this requires extra code both to initialize and re-initialize it. We now remove this sub-optimization. This change also makes it possible

Re: [tipc-discussion] [PATCH net-next 1/1] tipc: remove pre-allocated message header in link struct

2016-03-03 Thread Xue, Ying
Acked-by: Ying Xue Nice optimization! Regards, Ying -Original Message- From: Jon Maloy [mailto:jon.ma...@ericsson.com] Sent: 2016年3月1日 22:32 To: tipc-discussion@lists.sourceforge.net; parthasarathy.bhuvara...@ericsson.com; Xue, Ying; richard.a...@ericsson.com; jon.ma...@ericsson.com;

Re: [tipc-discussion] [PATCH net-next 1/1] tipc: remove pre-allocated message header in link struct

2016-03-03 Thread Jon Maloy
I got no feedback on this. I would like to post it before net-next closes. ///jon > -Original Message- > From: Jon Maloy [mailto:jon.ma...@ericsson.com] > Sent: Tuesday, 01 March, 2016 09:32 > To: tipc-discussion@lists.sourceforge.net; Parthasarathy Bhuvaragan; Ying Xue; > Richard Alpe;

Re: [tipc-discussion] [PATCH net-next 1/1] tipc: remove pre-allocated message header in link struct

2016-03-03 Thread Jon Maloy
Forget about the reminder below. I just saw in my private mailbox (but not the Ericsson one, for some reason) that Ying had acked it. I will post the patch asap. ///jon > -Original Message- > From: Jon Maloy > Sent: Thursday, 03 March, 2016 10:07 > To: Jon Maloy; tipc-discussion@lists.

Re: [tipc-discussion] [PATCH net-next 1/1] tipc: remove pre-allocated message header in link struct

2016-03-06 Thread David Miller
From: Jon Maloy Date: Thu, 3 Mar 2016 14:23:21 -0500 > Until now, we have kept a pre-allocated protocol message header > aggregated into struct tipc_link. Apart from adding unnecessary > footprint to the link instances, this requires extra code both to > initialize and re-initialize it. > > We