linux/arch/x86/lib
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
..
bitops_32.c
bitops_64.c x86_64: move lib 2007-10-11 11:17:08 +02:00
bitstr_64.c x86: fix off-by-one in find_next_zero_string 2007-10-17 20:15:22 +02:00
checksum_32.S
clear_page_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
copy_page_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
copy_user_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
copy_user_nocache_64.S x86: fence oostores on 64-bit 2007-10-12 18:41:21 -07:00
csum-copy_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
csum-partial_64.c x86_64: move lib 2007-10-11 11:17:08 +02:00
csum-wrappers_64.c x86_64: move lib 2007-10-11 11:17:08 +02:00
delay_32.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
delay_64.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
getuser_32.S
getuser_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
io_64.c x86_64: move lib 2007-10-11 11:17:08 +02:00
iomap_copy_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
Makefile x86_64: move lib 2007-10-11 11:17:08 +02:00
Makefile_32
Makefile_64 x86_64: move lib 2007-10-11 11:17:08 +02:00
memcpy_32.c
memcpy_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
memmove_64.c x86_64: move lib 2007-10-11 11:17:08 +02:00
memset_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
mmx_32.c
msr-on-cpu.c i386: simplify smp_call_function_single() call sequence in msr-on-cpu 2007-10-17 20:16:20 +02:00
putuser_32.S
putuser_64.S x86_64: move lib 2007-10-11 11:17:08 +02:00
rwlock_64.S x86: rename .i assembler includes to .h 2007-10-17 20:16:29 +02:00
semaphore_32.S x86: rename .i assembler includes to .h 2007-10-17 20:16:29 +02:00
string_32.c i386: Remove strrchr assembler implementation 2007-10-17 20:16:23 +02:00
strstr_32.c
thunk_64.S lockdep: x86_64: connect the sysexit hook 2007-10-11 22:11:12 +02:00
usercopy_32.c
usercopy_64.c x86_64: move lib 2007-10-11 11:17:08 +02:00