diff options
author | David Miller <davem@davemloft.net> | 2017-11-28 15:40:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-30 09:54:27 -0500 |
commit | 8b207e7374c244484d6cb0f0e80ae400ce0ec0cf (patch) | |
tree | 94c0053f39bcf2acf74b43fdf1a16c3defe8e6ca /net/xfrm | |
parent | 0f6c480f23f49b53644b383c5554e579498347f3 (diff) |
net: Rearrange dst_entry layout to avoid useless padding.
We have padding to try and align the refcount on a separate cache
line. But after several simplifications the padding has increased
substantially.
So now it's easy to change the layout to get rid of the padding
entirely.
We group the write-heavy __refcnt and __use with less often used
items such as the rcu_head and the error code.
Signed-off-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions