commit | 6b015a523fa3ba57ccd9c72697163b560fcdedb4 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Nov 19 17:30:19 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 20 09:51:32 2018 -0800 |
tree | 531594a49b69a9843804d30d7e1f2cd4adb53bf7 | |
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>