[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101016.115610.48524281.davem@davemloft.net>
Date: Sat, 16 Oct 2010 11:56:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] fib: avoid false sharing on fib_table_hash
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 13 Oct 2010 20:22:03 +0200
> While doing profile analysis, I found fib_hash_table was sometime in a
> cache line shared by a possibly often written kernel structure.
>
> (CONFIG_IP_ROUTE_MULTIPATH || !CONFIG_IPV6_MULTIPLE_TABLES)
>
> It's hard to detect because not easily reproductible.
>
> Make sure we allocate a full cache line to keep this shared in all cpus
> caches.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
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