[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100401.184508.144448196.davem@davemloft.net>
Date: Thu, 01 Apr 2010 18:45:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yoshfuji@...ux-ipv6.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] ipv6 fib: Make rt6_info{} more cache-line
aware.
From: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Date: Thu, 01 Apr 2010 17:24:22 +0900
> 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@...ux-ipv6.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists