From: Eric Dumazet Date: Wed, 6 Feb 2008 09:37:01 +0000 (-0800) Subject: PERCPU : __percpu_alloc_mask() can dynamically size percpu_data storage X-Git-Tag: v2.6.25-rc1~729 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3242151906372f30f57feaa43b4cac96a23edb1;p=pandora-kernel.git PERCPU : __percpu_alloc_mask() can dynamically size percpu_data storage Instead of allocating a fix sized array of NR_CPUS pointers for percpu_data, we can use nr_cpu_ids, which is generally < NR_CPUS. Signed-off-by: Eric Dumazet Cc: Christoph Lameter Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed