[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1325622892.2611.11.camel@edumazet-laptop>
Date: Tue, 03 Jan 2012 21:34:52 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, dave.taht@...il.com
Subject: Re: [PATCH net-next v2] net_sched: qdisc_alloc_handle() can be too
slow
Le mardi 03 janvier 2012 à 13:03 -0500, David Miller a écrit :
> Applied, thanks Eric. I always cringed when I looked at this function :)
>
Yep :(
I'll add an IDR (and not a btree as I stated earlier) to get O(1)
allocations and qdisc_lookup(), it should help to optimize
qdisc_tree_decrease_qlen() [ Slow as hell for complex qdisc setups ]
--
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