]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net,rcu: convert call_rcu(__gen_kill_estimator) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 03:43:26 +0000 (11:43 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:50:57 +0000 (22:50 -0700)
commitdad178fcd5b295f5f350a46a5eaf2f28e847bb5a
treece8a306e58a4b7b01e95b2372705099a29fbf0b4
parentbceb0f4512d448763fe98c9f37504c98bbebbed6
net,rcu: convert call_rcu(__gen_kill_estimator) to kfree_rcu()

The rcu callback __gen_kill_estimator() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(__gen_kill_estimator).

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>
net/core/gen_estimator.c