[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090829.001941.38682647.davem@davemloft.net>
Date: Sat, 29 Aug 2009 00:19:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: krkumar2@...ibm.com
Cc: jarkao2@...il.com, netdev@...r.kernel.org,
herbert@...dor.apana.org.au, kaber@...sh.net
Subject: Re: [PATCH v2] Speed-up pfifo_fast lookup using a private bitmap
From: Krishna Kumar <krkumar2@...ibm.com>
Date: Wed, 19 Aug 2009 13:25:59 +0530
> From: Krishna Kumar <krkumar2@...ibm.com>
>
> Maintain a per-qdisc bitmap for pfifo_fast giving availability
> of skbs for each band. This allows faster lookup for a skb when
> there are no high priority skbs. Also, it helps in (rare) cases
> when there are no skbs on the list, where an immediate lookup is
> faster than iterating through the three bands.
>
> Changelog v1 -> v2
>
> 1. Moved the bitmap from Qdisc to the private area of pfifo_fast
> 2. pfifo_fast_reset sets bitmap to zero
> 3. Undo a line-wrap in initializing a variable
> 4. Fixed some comments
> 5. Readability and checkpatch fixes
>
> Thanks,
>
> - KK
>
> Signed-off-by: Krishna Kumar <krkumar2@...ibm.com>
Applied, thanks.
--
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