mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
net_sched: sch_fq: perform a prefetch() earlier
The prefetch() done in fq_dequeue() can be done a bit earlier after the refactoring of the code done in the prior patch. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c288b0ca86
commit
348e289b0f
@ -546,6 +546,7 @@ begin:
|
||||
fq_flow_set_throttled(q, f);
|
||||
goto begin;
|
||||
}
|
||||
prefetch(&skb->end);
|
||||
if ((s64)(now - time_next_packet - q->ce_threshold) > 0) {
|
||||
INET_ECN_set_ce(skb);
|
||||
q->stat_ce_mark++;
|
||||
@ -562,7 +563,6 @@ begin:
|
||||
}
|
||||
goto begin;
|
||||
}
|
||||
prefetch(&skb->end);
|
||||
plen = qdisc_pkt_len(skb);
|
||||
f->credit -= plen;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user