]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pkt_sched: Remove smp_wmb() in qdisc_watchdog()
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 23 Dec 2008 03:44:13 +0000 (19:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Dec 2008 03:44:13 +0000 (19:44 -0800)
commit05a8c1cbfe368df8c0d4eff710c370d2aa10245a
treefb1ed1dda4f25f0c7ee6facb9e3d10a45b324201
parent4707470ae7441733822efcd680b0ef3971921c4d
pkt_sched: Remove smp_wmb() in qdisc_watchdog()

While implementing a TCQ_F_THROTTLED flag there was used an smp_wmb()
in qdisc_watchdog(), but since this flag is practically used only in
sch_netem(), and since it's not even clear what reordering is avoided
here (TCQ_F_THROTTLED vs. __QDISC_STATE_SCHED?) it seems the barrier
could be safely removed.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c
net/sched/sch_netem.c