commit | f9eb8aea2a1e12fc2f584d1627deeb957435a801 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Jun 06 09:37:15 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 07 16:37:13 2016 -0700 |
tree | bc3cf06664da45bc0e6ce9b5165dba534ed11751 | |
parent | 64151ae36ed93c45654069c8aff2a7f0125075e8 [diff] |
net_sched: transform qdisc running bit into a seqcount Instead of using a single bit (__QDISC___STATE_RUNNING) in sch->__state, use a seqcount. This adds lockdep support, but more importantly it will allow us to sample qdisc/class statistics without having to grab qdisc root lock. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Cong Wang <xiyou.wangcong@gmail.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>