From: Lai Jiangshan Date: Tue, 15 Mar 2011 10:11:46 +0000 (+0800) Subject: net,act_police,rcu: remove rcu_barrier() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=75ef0368d182785c7c5c06ac11081e31257a313e;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: David S. Miller Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- 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 police_cleanup_module(void) { tcf_unregister_action(&act_police_ops); - rcu_barrier(); /* Wait for completion of call_rcu()'s (tcf_police_free_rcu) */ } module_init(police_init_module);