sched: Remove rcu_read_lock() from wake_affine()
authorNikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
Tue, 7 Jun 2011 10:13:22 +0000 (15:43 +0530)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Jul 2011 08:39:06 +0000 (10:39 +0200)
commit2a46dae38087e62dd5fb08a6dadf1407717ed13c
tree1840acef6c5003aee8744b64fec3a13002ba0abd
parent36b2e922b5acd291051fab25bc7535274ce49532
sched: Remove rcu_read_lock() from wake_affine()

wake_affine() is only called from one path: select_task_rq_fair(),
which already has the RCU read lock held.

Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20110607101251.777.34547.stgit@IBM-009124035060.in.ibm.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c