diff options
author | Eric Dumazet <edumazet@google.com> | 2018-11-20 02:30:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-20 18:51:32 +0100 |
commit | 6b015a523fa3ba57ccd9c72697163b560fcdedb4 (patch) | |
tree | 531594a49b69a9843804d30d7e1f2cd4adb53bf7 /net/ipv4/route.c | |
parent | Merge branch 'gred-add-offload-support' (diff) | |
download | linux-6b015a523fa3ba57ccd9c72697163b560fcdedb4.tar.xz linux-6b015a523fa3ba57ccd9c72697163b560fcdedb4.zip |
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/route.c')
0 files changed, 0 insertions, 0 deletions