Eric Dumazet
9ce7bc036a
netfilter: ipv6: nf_defrag: reduce struct net memory waste
...
It is a waste of memory to use a full "struct netns_sysctl_ipv6"
while only one pointer is really used, considering netns_sysctl_ipv6
keeps growing.
Also, since "struct netns_frags" has cache line alignment,
it is better to move the frags_hdr pointer outside, otherwise
we spend a full cache line for this pointer.
This saves 192 bytes of memory per netns.
Fixes: c038a767cd ("ipv6: add a new namespace for nf_conntrack_reasm")
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
2018-06-18 14:13:25 +02:00
..
2018-06-12 16:19:22 -07:00
2018-06-18 14:13:25 +02:00
2018-05-22 10:51:09 +02:00
2018-06-11 16:39:02 -07:00
2018-03-27 13:18:09 -04:00
2018-06-06 18:39:49 -07:00
2017-11-15 11:56:19 -08:00
2018-06-06 18:39:49 -07:00
2018-06-08 19:55:15 -04:00
2018-02-27 10:46:01 +01:00
2018-01-17 00:10:42 -05:00
2018-05-07 23:50:27 -04:00
2018-04-17 13:39:51 -04:00
2018-05-11 00:10:56 +02:00
2018-06-12 16:19:22 -07:00
2017-12-03 10:18:28 -05:00
2018-02-16 15:57:42 -05:00
2018-06-15 09:11:16 -07:00
2018-05-16 07:24:30 +02:00
2018-05-21 16:01:54 -04:00
2017-11-02 11:10:55 +01:00
2018-04-17 13:39:51 -04:00
2018-04-26 15:07:42 -04:00
2018-06-04 10:16:45 -04:00
2018-06-01 13:56:30 -04:00
2018-05-11 20:53:22 -04:00
2018-06-06 18:39:49 -07:00
2018-02-28 11:43:28 -05:00
2018-05-24 11:57:35 +02:00
2017-11-02 11:10:55 +01:00
2018-05-16 07:24:30 +02:00
2018-06-04 10:16:45 -04:00
2018-02-25 20:51:13 +01:00
2017-11-24 01:37:35 +09:00
2018-05-16 07:24:30 +02:00
2018-05-16 07:24:30 +02:00
2018-06-04 13:57:43 -07:00
2018-04-18 23:19:39 -04:00
2018-06-11 14:17:19 -07:00
2018-06-03 09:31:58 -04:00
2018-05-24 11:57:36 +02:00
2018-05-29 09:53:38 -04:00
2018-06-01 13:56:30 -04:00
2018-03-25 20:53:54 -04:00
2018-04-25 13:02:15 -04:00
2018-06-14 17:04:41 -07:00
2018-01-22 16:01:30 -05:00
2017-11-02 11:10:55 +01:00
2018-05-08 22:30:06 -04:00
2018-06-08 19:55:15 -04:00
2018-05-16 07:24:30 +02:00
2017-12-19 08:23:21 +01:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-06-03 09:31:58 -04:00
2018-04-26 07:51:48 +02:00
2018-04-16 07:50:09 +02:00