Eric Dumazet
96f817fede
tcp: shrink tcp6_timewait_sock by one cache line
...
While working on tcp listener refactoring, I found that it
would really make things easier if sock_common could include
the IPv6 addresses needed in the lookups, instead of doing
very complex games to get their values (depending on sock
being SYN_RECV, ESTABLISHED, TIME_WAIT)
For this to happen, I need to be sure that tcp6_timewait_sock
and tcp_timewait_sock consume same number of cache lines.
This is possible if we only use 32bits for tw_ttd, as we remove
one 32bit hole in inet_timewait_sock
inet_tw_time_stamp() is defined and used, even if its current
implementation looks like tcp_time_stamp : We might need finer
resolution for tcp_time_stamp in the future.
Before patch : sizeof(struct tcp6_timewait_sock) = 0xc8
After patch : sizeof(struct tcp6_timewait_sock) = 0xc0
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-10-03 17:43:39 -04:00
..
2013-09-11 12:34:13 -07:00
2013-10-01 17:06:14 -04:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:42 -04:00
2013-04-08 17:16:57 -04:00
2013-10-01 17:06:14 -04:00
2013-09-30 21:59:38 -07:00
2013-08-14 01:12:58 +02:00
2012-06-17 16:29:38 -07:00
2013-09-23 16:29:42 -04:00
2013-07-31 17:24:22 -07:00
2013-09-28 15:56:15 -04:00
2013-07-31 17:50:01 -07:00
2013-08-10 01:16:44 -07:00
2013-07-27 22:14:06 -07:00
2013-07-31 17:50:02 -07:00
2011-11-30 18:51:03 -05:00
2013-07-31 17:50:02 -07:00
2013-08-28 17:45:48 -04:00
2013-08-29 14:08:24 -04:00
2013-07-31 17:50:02 -07:00
2012-06-01 14:18:29 -04:00
2013-09-05 14:54:29 -07:00
2012-08-10 16:52:54 -07:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2012-04-05 05:08:04 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2011-12-01 11:41:06 -05:00
2013-01-09 23:59:53 -08:00
2012-07-19 10:43:03 -07:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:33 -04:00
2013-03-26 12:32:13 -04:00
2013-10-03 15:36:37 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-07-03 14:37:39 -07:00
2013-01-27 22:46:33 -05:00
2013-09-20 14:49:33 -04:00
2013-07-16 09:58:05 +03:00
2013-04-08 12:00:16 -04:00
2013-09-04 14:53:20 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-05-28 23:49:07 -07:00
2013-05-06 11:06:51 -04:00
2013-10-03 15:33:35 -04:00
2013-10-03 15:33:35 -04:00
2013-10-03 17:43:39 -04:00
2013-09-21 14:01:38 -04:00
2013-01-08 17:56:10 -08:00
2013-09-27 17:32:16 -04:00
2013-09-21 14:01:38 -04:00
2013-09-04 00:27:25 -04:00
2013-09-21 14:01:38 -04:00
2013-09-04 00:27:25 -04:00
2013-10-01 17:06:14 -04:00
2013-09-30 21:59:38 -07:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:38 -04:00
2013-04-29 15:41:56 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-08-29 14:08:24 -04:00
2012-06-26 21:06:11 -07:00
2013-09-04 14:53:20 -04:00
2013-10-01 17:06:14 -04:00
2013-09-21 14:01:39 -04:00
2013-07-31 17:50:02 -07:00
2013-10-01 17:06:14 -04:00
2013-09-21 14:01:39 -04:00
2012-09-17 18:08:54 -07:00
2013-09-21 14:01:39 -04:00
2013-09-05 14:54:29 -07:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:39 -04:00
2013-09-23 01:51:07 -04:00
2013-07-31 17:24:22 -07:00
2013-08-31 00:32:32 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2012-04-16 23:53:11 -04:00
2013-01-03 13:01:30 +01:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-28 15:21:52 -07:00
2013-09-23 01:51:09 -04:00
2013-09-20 14:41:02 -04:00
2013-09-23 01:51:09 -04:00
2013-10-01 17:06:14 -04:00
2012-08-06 13:40:47 -07:00
2013-10-03 15:33:35 -04:00
2013-09-23 01:51:09 -04:00
2012-04-10 10:04:07 -07:00
2013-09-24 10:39:58 -04:00
2012-06-09 14:56:12 -07:00
2013-06-04 16:43:42 -07:00
2013-09-23 16:29:40 -04:00
2013-09-23 16:29:40 -04:00
2013-07-27 22:14:06 -07:00
2013-09-05 12:44:30 -04:00
2013-09-23 16:29:40 -04:00
2013-09-23 16:29:41 -04:00
2012-05-16 15:17:08 -04:00
2013-09-23 16:29:41 -04:00
2013-09-30 15:24:57 -04:00