[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081126082922.55317adf@extreme>
Date: Wed, 26 Nov 2008 08:29:22 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Jarek Poplawski <jarkao2@...il.com>
Cc: David Miller <davem@...emloft.net>,
Patrick McHardy <kaber@...sh.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] pkt_sched: gen_estimator: Optimize
gen_estimator_active()
On Wed, 26 Nov 2008 11:10:22 +0000
Jarek Poplawski <jarkao2@...il.com> wrote:
> 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>
yeah sure, i just coded the obvious way.
--
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