diff options
| author | Xin Long <[email protected]> | 2016-09-29 02:37:26 +0800 | 
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-09-30 02:07:05 -0400 | 
| commit | 73dca124cdbad2d67d47d6196c08325f18447d07 (patch) | |
| tree | 3c25a84f0e3d4e9446f644d4a4e0311a6cf0aeb4 /drivers/net/xen-netback/netback.c | |
| parent | 1b0ff89852d79354e8a091c81a88df21f5aa9f0a (diff) | |
sctp: move sent_count to the memory hole in sctp_chunk
Now pahole sctp_chunk, it has 2 memory holes:
   struct sctp_chunk {
	struct list_head           list;
	atomic_t                   refcnt;
	/* XXX 4 bytes hole, try to pack */
	...
	long unsigned int          prsctp_param;
	int                        sent_count;
	/* XXX 4 bytes hole, try to pack */
This patch is to move up sent_count to fill the 1st one and eliminate
the 2nd one.
It's not just another struct compaction, it also fixes the "netperf-
Throughput_Mbps -37.2% regression" issue when overloading the CPU.
Fixes: a6c2f792873a ("sctp: implement prsctp TTL policy")
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions