From: Tony Luck Date: Fri, 8 Jan 2010 00:10:57 +0000 (-0800) Subject: [IA64] __per_cpu_idtrs[] is a memory hog X-Git-Tag: v2.6.33-rc4~74^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c57a332901f851bd092aba7a2b4d8ef4e643829;p=pandora-kernel.git [IA64] __per_cpu_idtrs[] is a memory hog __per_cpu_idtrs is statically allocated ... on CONFIG_NR_CPUS=4096 systems it hogs 16MB of memory. This is way too much for a quite probably unused facility (only KVM uses dynamic TR registers). Change to an array of pointers, and allocate entries as needed on a per cpu basis. Change the name too as the __per_cpu_ prefix is confusing (this isn't a classic type object). Signed-off-by: Tony Luck --- Reading git-diff-tree failed