From: YOSHIFUJI Hideaki / 吉藤英明 Date: Wed, 31 Mar 2010 22:24:22 +0000 (+0000) Subject: ipv6 fib: Make rt6_info{} more cache-line aware. X-Git-Tag: v2.6.35-rc1~473^2~624 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd2c77a0a749589b45f2697ea446a4438d078f9b;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed