diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2009-09-08 22:54:37 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-17 22:05:14 (GMT) |
commit | b835db1f9cadaf008750a32664e35a207782c95e (patch) | |
tree | 5bf73f245ac83250a984b8a14adfe3c7596b684f /kernel/rcutorture.c | |
parent | de078d875cc7fc709f7818f26d38389c04369826 (diff) | |
download | linux-b835db1f9cadaf008750a32664e35a207782c95e.tar.xz |
rcu: Initialize multi-level RCU grace periods holding locks
Prior implementations initialized the root and any internal
nodes without holding locks, then initialized the leaves
holding locks.
This is a false economy, as the leaf nodes will usually greatly
outnumber the root and internal nodes. Acquiring locks on all
nodes is conceptually much simpler as well.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: josht@linux.vnet.ibm.com
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
LKML-Reference: <12524504773190-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutorture.c')
0 files changed, 0 insertions, 0 deletions