From: Lai Jiangshan Date: Mon, 28 Jun 2010 08:25:04 +0000 (+0800) Subject: rcu: simplify the usage of percpu data X-Git-Tag: v2.6.37-rc1~215^2~14^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=394f99a9007d4274f7076bb8553ab0ff9707688b;p=pandora-kernel.git 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 Reviewed-by: Tejun Heo Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed