diff options
author | 2010-06-28 16:25:04 +0800 | |
---|---|---|
committer | 2010-08-19 17:18:01 -0700 | |
commit | 394f99a9007d4274f7076bb8553ab0ff9707688b (patch) | |
tree | 7d379f91321cec58b87fd5f5089947872689d591 /kernel/pid.c | |
parent | rcutorture: add random preemption (diff) | |
download | linux-394f99a9007d4274f7076bb8553ab0ff9707688b.tar.gz linux-394f99a9007d4274f7076bb8553ab0ff9707688b.tar.bz2 linux-394f99a9007d4274f7076bb8553ab0ff9707688b.zip |
rcu: simplify the usage of percpu data
&percpu_data is compatible with allocated percpu data.
And we use it and remove the "->rda[NR_CPUS]" array, saving significant
storage on systems with large numbers of CPUs. This does add an additional
level of indirection and thus an additional cache line referenced, but
because ->rda is not used on the read side, this is OK.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions