All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Jarek Poplawski <jarkao2@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	Patrick McHardy <kaber@trash.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH] pkt_sched: gen_estimator: Optimize gen_estimator_active()
Date: Wed, 26 Nov 2008 08:29:22 -0800	[thread overview]
Message-ID: <20081126082922.55317adf@extreme> (raw)
In-Reply-To: <20081126111021.GA12337@ff.dom.local>

On Wed, 26 Nov 2008 11:10:22 +0000
Jarek Poplawski <jarkao2@gmail.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@gmail.com>

yeah sure, i just coded the obvious way.

  reply	other threads:[~2008-11-26 16:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 18:16 [PATCH 1/2] tc: check for errors from gen_replace_estimator Stephen Hemminger
2008-11-25 18:21 ` [PATCH 2/2] tc: policing requires a rate estimator Stephen Hemminger
2008-11-25 18:32   ` Patrick McHardy
2008-11-25 18:33     ` Stephen Hemminger
2008-11-25 18:38       ` Patrick McHardy
2008-11-26  5:14   ` David Miller
2008-11-26 11:10   ` [PATCH] pkt_sched: gen_estimator: Optimize gen_estimator_active() Jarek Poplawski
2008-11-26 16:29     ` Stephen Hemminger [this message]
2008-11-26 23:24     ` David Miller
2008-11-25 18:28 ` [PATCH 1/2] tc: check for errors from gen_replace_estimator Patrick McHardy
2008-11-25 18:57   ` [PATCH 1a/2] tc: propogate errors from tcf_hash_create Stephen Hemminger
2008-11-26  5:12     ` David Miller
2008-11-25 18:58   ` [PATCH 1b/2] tc: check for errors in gen_rate_estimator creation Stephen Hemminger
2008-11-25 19:05     ` Patrick McHardy
2008-11-25 19:14       ` Stephen Hemminger
2008-11-25 19:19         ` Patrick McHardy
2008-11-25 19:25           ` Stephen Hemminger
2008-11-26  5:13             ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081126082922.55317adf@extreme \
    --to=shemminger@vyatta.com \
    --cc=davem@davemloft.net \
    --cc=jarkao2@gmail.com \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.