diff options
author | Eric Dumazet | 2018-11-19 17:30:19 -0800 |
---|---|---|
committer | David S. Miller | 2018-11-20 09:51:32 -0800 |
commit | 6b015a523fa3ba57ccd9c72697163b560fcdedb4 (patch) | |
tree | 531594a49b69a9843804d30d7e1f2cd4adb53bf7 /net/ipv4 | |
parent | 6133e78f4102405b1505b749d3bd06564ddafea9 (diff) |
net_sched: sch_fq: avoid calling ktime_get_ns() if not needed
There are two cases were we can avoid calling ktime_get_ns() :
1) Queue is empty.
2) Internal queue is not empty.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions