aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2011-03-15 06:11:46 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-08 01:50:54 -0400
commit75ef0368d182785c7c5c06ac11081e31257a313e (patch)
tree4be6d4ae5c872e77f685e4b33ee1956a779dc581 /net/sched
parent1e547757eca3c30eeeac526716e4ae833c2a9a2f (diff)
net,act_police,rcu: remove rcu_barrier()
There is no callback of this module maybe queued since we use kfree_rcu(), we can safely remove the rcu_barrier(). Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_police.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/act_police.c b/net/sched/act_police.c
index d6bcd64e91de..b3b9b32f4e00 100644
--- a/net/sched/act_police.c
+++ b/net/sched/act_police.c
@@ -396,7 +396,6 @@ static void __exit
396police_cleanup_module(void) 396police_cleanup_module(void)
397{ 397{
398 tcf_unregister_action(&act_police_ops); 398 tcf_unregister_action(&act_police_ops);
399 rcu_barrier(); /* Wait for completion of call_rcu()'s (tcf_police_free_rcu) */
400} 399}
401 400
402module_init(police_init_module); 401module_init(police_init_module);