]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf,rcu: convert call_rcu(free_ctx) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 04:07:41 +0000 (12:07 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:51:08 +0000 (22:51 -0700)
commitcb796ff338db9f064f4ecb7d41898e8bedcad4d9
tree53ad56428dc26a4d59281e3862a347d083c3c5ec
parent1f8d36a1869f5efae4fadf6baf01f02211040b97
perf,rcu: convert call_rcu(free_ctx) to kfree_rcu()

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

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