From: Lai Jiangshan Date: Thu, 10 Mar 2011 07:22:00 +0000 (+0800) Subject: slub,rcu: don't assume the size of struct rcu_head X-Git-Tag: v2.6.39-rc1~388^2~1^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da9a638c6f8fc0633fa94a334f1c053f5e307177;p=pandora-kernel.git slub,rcu: don't assume the size of struct rcu_head The size of struct rcu_head may be changed. When it becomes larger, it will pollute the page array. We reserve some some bytes for struct rcu_head when a slab is allocated in this situation. Changed from V1: use VM_BUG_ON instead BUG_ON Acked-by: Christoph Lameter Signed-off-by: Lai Jiangshan Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed