Tony Luck 6c57a33290 [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 <linux/percpu.h> type object).

Signed-off-by: Tony Luck <tony.luck@intel.com>
2010-01-07 16:10:57 -08:00
..
2009-10-02 13:28:56 +09:00
2007-05-11 05:38:25 -04:00
2009-06-17 09:33:49 -07:00
2009-10-12 23:40:10 -07:00
2006-06-21 11:19:22 -07:00
2009-03-26 11:01:46 -07:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2010-01-07 16:10:57 -08:00
2009-06-17 09:33:49 -07:00
2008-04-08 13:51:35 -07:00
2009-03-27 11:11:04 -07:00
2009-03-27 11:11:04 -07:00
2006-12-07 10:48:19 -08:00
2010-01-06 15:49:06 -08:00
2009-09-14 17:41:42 -07:00
2009-07-12 12:22:34 -07:00
2007-05-08 14:51:59 -07:00
2009-06-17 09:35:24 -07:00