diff options
author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | 2010-03-31 22:24:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-01 18:41:41 -0700 |
commit | bd2c77a0a749589b45f2697ea446a4438d078f9b (patch) | |
tree | 801d2f87cad4bd6bafd946ad4eb16cb1c0db779b /fs | |
parent | 152102c7f2bf191690f1069bae292ea3925adf14 (diff) | |
download | op-kernel-dev-bd2c77a0a749589b45f2697ea446a4438d078f9b.zip op-kernel-dev-bd2c77a0a749589b45f2697ea446a4438d078f9b.tar.gz |
ipv6 fib: Make rt6_info{} more cache-line aware.
The head element of rt6_info{} is dst_entry{}, and
IPv6 specific elements follow.
Because elements at the end of dst_entry{} are frequently
updated, it is not good to put frequently-used static
elements, such as rt6i_idev, rt6i_dst or rt6i_flags in the
same cache line.
On the other hand, fib6_table, rt6i_node or rt6i_gateway are
rarely used, so it is okay to stay in the same cache line.
Let's rearrange rt6_info{}.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions