[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081126.152442.139201565.davem@davemloft.net>
Date: Wed, 26 Nov 2008 15:24:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: shemminger@...tta.com, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH] pkt_sched: gen_estimator: Optimize
gen_estimator_active()
From: Jarek Poplawski <jarkao2@...il.com>
Date: Wed, 26 Nov 2008 11:10:22 +0000
> pkt_sched: gen_estimator: Optimize gen_estimator_active()
>
> Since all other gen_estimator functions use bstats and rate_est params
> together, and searching for them is optimized now, let's use this also
> in gen_estimator_active(). The return type of gen_estimator_active()
> is changed to bool, and gen_find_node() parameters to const, btw.
>
> In tcf_act_police_locate() a check for ACT_P_CREATED is added before
> calling gen_estimator_active().
>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
Applied, thanks Jarek.
--
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