[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091113.205015.125854704.davem@davemloft.net>
Date: Fri, 13 Nov 2009 20:50:15 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] ipv4: speedup inet_dump_ifaddr()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 12 Nov 2009 18:44:25 +0100
> [PATCH net-next-2.6] ipv4: speedup inet_dump_ifaddr()
>
> When handling large number of netdevices, inet_dump_ifaddr()
> is very slow because it has O(N2) complexity.
>
> Instead of scanning one single list, we can use the NETDEV_HASHENTRIES
> sub lists of the dev_index hash table, and RCU lookups.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> Acked-by: Stephen Hemminger <shemminger@...tta.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