diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2009-08-18 21:55:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-29 00:19:21 -0700 |
commit | fd3ae5e8fc5e947a9f151e80a65763a24b6368a9 (patch) | |
tree | 2842160866656f5573aea96fc90893ad0f0d3a23 /tools/perf/builtin-list.c | |
parent | 31ce8c71a3bdab12debb5899b1f6dac13e54c71d (diff) | |
download | kernel_samsung_crespo-fd3ae5e8fc5e947a9f151e80a65763a24b6368a9.zip kernel_samsung_crespo-fd3ae5e8fc5e947a9f151e80a65763a24b6368a9.tar.gz kernel_samsung_crespo-fd3ae5e8fc5e947a9f151e80a65763a24b6368a9.tar.bz2 |
Speed-up pfifo_fast lookup using a private bitmap
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.
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/builtin-list.c')
0 files changed, 0 insertions, 0 deletions