perf,rcu: convert call_rcu(swevent_hlist_release_rcu) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 04:08:29 +0000 (12:08 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:51:09 +0000 (22:51 -0700)
commitfa4bbc4ca5795fbf1303b98c924e51a21a920f14
tree91f504045a57d1c88b68a5a0102de01008828232
parentcb796ff338db9f064f4ecb7d41898e8bedcad4d9
perf,rcu: convert call_rcu(swevent_hlist_release_rcu) to kfree_rcu()

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

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/perf_event.c