diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-05-20 16:06:29 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-05-28 17:41:52 +0200 |
commit | 08bca60a6912ad225254250c0a9c3a05b4152cfa (patch) | |
tree | 760b20e6eaaa02412fcecb6bc5c3598b6bc0fdce /kernel/smp.c | |
parent | 8826f3b0397562eee6f8785d548be9dfdb169100 (diff) |
rcu: Remove waitqueue usage for cpu, node, and boost kthreads
It is not necessary to use waitqueues for the RCU kthreads because
we always know exactly which thread is to be awakened. In addition,
wake_up() only issues an actual wakeup when there is a thread waiting on
the queue, which was why there was an extra explicit wake_up_process()
to get the RCU kthreads started.
Eliminating the waitqueues (and wake_up()) in favor of wake_up_process()
eliminates the need for the initial wake_up_process() and also shrinks
the data structure size a bit. The wakeup logic is placed in a new
rcu_wait() macro.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions