From: Mike Travis Date: Sun, 11 Jan 2009 06:24:07 +0000 (-0800) Subject: kstat: modify kstat_irqs_legacy to be variable sized X-Git-Tag: v2.6.30-rc1~3^2~6^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542d865bbed4ce1f050f586e53cf1cfadda93766;p=pandora-kernel.git kstat: modify kstat_irqs_legacy to be variable sized Impact: reduce memory usage. Allocate kstat_irqs_legacy based on nr_cpu_ids to deal with this memory usage bump when NR_CPUS bumped from 128 to 4096: 8192 +253952 262144 +3100% kstat_irqs_legacy(.bss) This is only when CONFIG_SPARSE_IRQS=y. Signed-off-by: Mike Travis --- Reading git-diff-tree failed