[PATCH 17/17] net,act_police,rcu: remove rcu_barrier()

Lai Jiangshan laijs at cn.fujitsu.com
Tue Mar 15 03:11:46 PDT 2011



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 at cn.fujitsu.com>
---
 net/sched/act_police.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/sched/act_police.c b/net/sched/act_police.c
index 083b091..22e3f9b 100644
--- a/net/sched/act_police.c
+++ b/net/sched/act_police.c
@@ -397,7 +397,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);
-- 
1.7.4


More information about the Containers mailing list