[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091110.223451.211569935.davem@davemloft.net>
Date: Tue, 10 Nov 2009 22:34:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] ipv6: speedup inet6_dump_ifinfo()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 09 Nov 2009 23:11:28 +0100
> When handling large number of netdevice, inet6_dump_ifinfo()
> is very slow because it has O(N^2) complexity.
>
> Instead of scanning one single list, we can use the 256 sub lists
> of the dev_index hash table, and RCU lookups.
>
> 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