diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2009-09-09 00:54:37 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-18 00:05:14 +0200 |
commit | b835db1f9cadaf008750a32664e35a207782c95e (patch) | |
tree | 5bf73f245ac83250a984b8a14adfe3c7596b684f /lib/crc7.c | |
parent | rcu: Need to update rnp->gpnum if preemptable RCU is to be reliable (diff) | |
download | linux-b835db1f9cadaf008750a32664e35a207782c95e.tar.xz linux-b835db1f9cadaf008750a32664e35a207782c95e.zip |
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 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions