Thread (18 messages) 18 messages, 4 authors, 2008-11-26

Re: [PATCH] pkt_sched: gen_estimator: Optimize gen_estimator_active()

From: David Miller <davem@davemloft.net>
Date: 2008-11-26 23:24:43

From: Jarek Poplawski <redacted>
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 <redacted>
Applied, thanks Jarek.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help