fan.du
5a139296f8
sctp: Pack dst_cookie into 1st cacheline hole for 64bit host
As dst_cookie is used in fast path sctp_transport_dst_check.
Before:
struct sctp_transport {
struct list_head transports; /* 0 16 */
atomic_t refcnt; /* 16 4 */
__u32 dead:1; /* 20:31 4 */
__u32 rto_pending:1; /* 20:30 4 */
__u32 hb_sent:1; /* 20:29 4 */
__u32 pmtu_pending:1; /* 20:28 4 */
/* XXX 28 bits hole, try to pack */
__u32 sack_generation; /* 24 4 */
/* XXX 4 bytes hole, try to pack */
struct flowi fl; /* 32 64 */
/* --- cacheline 1 boundary (64 bytes) was 32 bytes ago --- */
union sctp_addr ipaddr; /* 96 28 */
After:
struct sctp_transport {
struct list_head transports; /* 0 16 */
atomic_t refcnt; /* 16 4 */
__u32 dead:1; /* 20:31 4 */
__u32 rto_pending:1; /* 20:30 4 */
__u32 hb_sent:1; /* 20:29 4 */
__u32 pmtu_pending:1; /* 20:28 4 */
/* XXX 28 bits hole, try to pack */
__u32 sack_generation; /* 24 4 */
u32 dst_cookie; /* 28 4 */
struct flowi fl; /* 32 64 */
/* --- cacheline 1 boundary (64 bytes) was 32 bytes ago --- */
union sctp_addr ipaddr; /* 96 28 */
Signed-off-by: Fan Du <fan.du@windriver.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-05 12:20:51 -07:00
..
2013-07-30 15:54:28 -07:00
2013-06-23 00:23:53 +01:00
2013-04-23 13:25:51 -04:00
2013-08-02 12:33:54 -07:00
2013-04-08 17:16:57 -04:00
2013-06-11 02:51:03 -07:00
2013-07-31 14:56:36 -07:00
2013-07-31 01:19:43 +02:00
2012-06-17 16:29:38 -07:00
2013-08-05 12:20:51 -07:00
2013-07-31 17:24:22 -07:00
2013-07-31 17:50:01 -07:00
2013-07-31 17:50:01 -07:00
2013-07-31 17:50:01 -07:00
2013-07-27 22:14:06 -07:00
2013-07-31 17:50:02 -07:00
2013-07-31 17:50:02 -07:00
2013-08-01 15:11:17 -07:00
2013-07-31 17:50:02 -07:00
2013-07-31 17:50:02 -07:00
2012-06-01 14:18:29 -04:00
2013-07-31 17:50:02 -07:00
2012-08-10 16:52:54 -07:00
2012-04-15 12:44:40 -04:00
2012-04-05 05:08:04 -04:00
2013-03-22 10:31:16 -04:00
2013-01-28 00:15:27 -05:00
2012-04-15 12:44:40 -04:00
2013-01-09 23:59:53 -08:00
2012-07-19 10:43:03 -07:00
2013-03-15 09:06:58 -04:00
2013-08-03 11:53:54 -07:00
2013-03-26 12:32:13 -04:00
2013-03-20 12:14:36 -04:00
2012-10-08 17:42:36 -04:00
2013-06-11 02:51:03 -07:00
2013-04-25 01:43:15 -04:00
2013-07-03 14:37:39 -07:00
2013-01-27 22:46:33 -05:00
2013-02-22 15:10:18 -05:00
2013-05-24 12:07:25 +02:00
2013-04-08 12:00:16 -04:00
2013-06-28 21:19:17 -07:00
2012-07-16 03:44:56 -07:00
2013-02-21 18:15:58 -05:00
2012-07-19 11:02:03 -07:00
2013-03-12 08:30:34 -04:00
2013-05-28 23:49:07 -07:00
2013-05-06 11:06:51 -04:00
2013-02-27 19:10:24 -08:00
2013-06-12 03:13:50 -07:00
2013-02-27 19:10:24 -08:00
2012-07-10 22:40:14 -07:00
2013-01-08 17:56:10 -08:00
2013-08-01 14:16:20 -07:00
2013-01-18 14:41:13 -05:00
2013-03-26 12:27:18 -04:00
2013-07-02 00:33:52 -07:00
2013-06-27 22:30:47 -07:00
2013-06-26 18:01:46 +09:00
2013-01-21 14:17:05 -05:00
2013-06-19 23:18:07 -07:00
2012-05-17 18:45:20 -04:00
2013-04-29 15:41:56 -04:00
2012-04-15 12:44:40 -04:00
2012-05-15 20:14:35 -04:00
2012-09-17 13:13:24 -04:00
2013-07-31 17:50:02 -07:00
2012-06-26 21:06:11 -07:00
2013-02-10 20:37:22 -05:00
2013-07-31 15:18:17 -07:00
2013-07-31 17:50:02 -07:00
2013-07-31 14:56:36 -07:00
2013-01-14 15:04:59 -05:00
2012-09-17 18:08:54 -07:00
2012-09-10 15:30:41 -04:00
2013-07-31 17:50:02 -07:00
2013-02-27 19:10:24 -08:00
2013-06-05 16:37:30 -07:00
2013-07-31 17:24:22 -07:00
2013-07-31 17:24:22 -07:00
2012-11-15 17:39:51 -05:00
2012-05-19 01:08:16 -04:00
2012-04-16 23:53:11 -04:00
2013-01-03 13:01:30 +01:00
2013-04-22 15:55:48 -04:00
2012-11-03 14:59:04 -04:00
2013-03-22 10:31:16 -04:00
2013-07-31 17:24:22 -07:00
2013-04-22 20:32:51 -04:00
2013-04-29 15:14:02 -04:00
2012-08-06 13:40:47 -07:00
2013-08-03 21:36:46 -07:00
2012-04-10 10:04:07 -07:00
2013-07-31 12:16:45 -07:00
2012-06-09 14:56:12 -07:00
2013-06-04 16:43:42 -07:00
2013-07-27 22:16:36 -07:00
2013-07-27 22:14:06 -07:00
2012-04-15 12:44:40 -04:00
2012-05-16 15:17:08 -04:00
2012-04-15 12:44:40 -04:00
2013-05-31 17:30:07 -07:00