Mike Travis
92cb7612ae
x86: convert cpuinfo_x86 array to a per_cpu array
...
cpu_data is currently an array defined using NR_CPUS. This means that
we overallocate since we will rarely really use maximum configured cpus.
When NR_CPU count is raised to 4096 the size of cpu_data becomes
3,145,728 bytes.
These changes were adopted from the sparc64 (and ia64) code. An
additional field was added to cpuinfo_x86 to be a non-ambiguous cpu
index. This corresponds to the index into a cpumask_t as well as the
per_cpu index. It's used in various places like show_cpuinfo().
cpu_data is defined to be the boot_cpu_data structure for the NON-SMP
case.
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-19 20:35:04 +02:00
..
2007-10-19 20:35:04 +02:00
2007-10-19 20:35:04 +02:00
2007-10-17 21:19:04 +02:00
2007-10-19 20:35:04 +02:00
2007-10-11 11:17:24 +02:00
2007-10-17 20:16:53 +02:00
2007-10-17 20:16:53 +02:00
2007-10-11 19:18:45 -07:00
2007-10-16 11:51:29 -07:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-13 10:01:23 -07:00
2007-10-19 20:35:04 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-16 17:38:31 -07:00
2007-10-16 17:38:31 -07:00
2007-10-19 20:35:03 +02:00
2007-10-16 17:38:31 -07:00
2007-10-11 11:17:01 +02:00
2007-10-17 11:10:11 -07:00
2007-10-17 20:15:29 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:03 +02:00
2007-10-12 23:04:06 +02:00
2007-10-19 20:35:03 +02:00
2007-10-17 20:16:56 +02:00
2007-10-11 11:17:24 +02:00
2007-10-19 20:35:02 +02:00
2007-10-17 20:17:05 +02:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-12 23:04:23 +02:00
2007-10-19 20:35:03 +02:00
2007-10-17 20:16:07 +02:00
2007-10-19 20:35:02 +02:00
2007-10-19 20:35:03 +02:00
2007-10-17 20:16:57 +02:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-17 20:16:54 +02:00
2007-10-17 20:16:54 +02:00
2007-10-11 11:17:24 +02:00
2007-10-16 09:43:10 -07:00
2007-10-16 09:43:10 -07:00
2007-10-17 20:17:05 +02:00
2007-10-17 20:17:00 +02:00
2007-10-17 08:42:54 -07:00
2007-10-17 08:42:54 -07:00
2007-10-17 21:56:01 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:03 +02:00
2007-10-13 10:01:23 -07:00
2007-10-19 20:35:04 +02:00
2007-10-19 20:35:04 +02:00
2007-10-17 20:16:53 +02:00
2007-10-12 23:04:06 +02:00
2007-10-19 20:35:04 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:04 +02:00
2007-10-12 23:04:06 +02:00
2007-10-12 23:04:07 +02:00
2007-10-11 11:17:01 +02:00
2007-10-16 11:51:29 -07:00
2007-10-17 20:16:41 +02:00
2007-10-17 20:15:51 +02:00
2007-10-19 20:35:03 +02:00
2007-10-17 20:16:10 +02:00
2007-10-16 11:26:02 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-19 20:35:03 +02:00
2007-10-16 09:43:10 -07:00
2007-10-17 20:17:05 +02:00
2007-10-17 20:17:00 +02:00
2007-10-19 20:35:02 +02:00
2007-10-11 19:18:45 -07:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:02 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-14 12:41:51 -07:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:04 +02:00
2007-10-11 11:17:01 +02:00
2007-10-17 20:17:01 +02:00
2007-10-13 10:01:23 -07:00
2007-10-19 20:35:04 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:04 +02:00
2007-10-19 20:35:04 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-17 20:16:11 +02:00
2007-10-13 10:01:23 -07:00
2007-10-19 20:35:03 +02:00
2007-10-18 14:37:19 -07:00
2007-10-17 08:42:55 -07:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:20:03 +02:00
2007-10-11 11:17:01 +02:00
2007-10-13 10:01:23 -07:00
2007-10-17 20:16:12 +02:00
2007-10-12 23:04:06 +02:00
2007-10-12 23:04:23 +02:00
2007-10-17 20:16:16 +02:00
2007-10-17 20:16:08 +02:00
2007-10-17 20:16:08 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:03 +02:00
2007-10-19 20:35:04 +02:00
2007-10-19 20:35:04 +02:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2007-10-16 11:51:29 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-19 20:35:04 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00