WSL2-Linux-Kernel/arch
Mike Travis 0835761129 x86: Convert cpu_core_map to be a per cpu variable
This is from an earlier message from 'Christoph Lameter':

    cpu_core_map is currently an array defined using NR_CPUS. This means that
    we overallocate since we will rarely really use maximum configured cpu.

    If we put the cpu_core_map into the per cpu area then it will be allocated
    for each processor as it comes online.

    This means that the core map cannot be accessed until the per cpu area
    has been allocated. Xen does a weird thing here looping over all processors
    and zeroing the masks that are not yet allocated and that will be zeroed
    when they are allocated. I commented the code out.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:42:50 -07:00
..
alpha Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
arm Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
avr32 Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
blackfin Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
cris Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
frv FRV: connect up fallocate 2007-08-11 15:47:40 -07:00
h8300 H8/300: Fix misnamed "CONFIG_BLKDEV_RESERVE_ADDRESS" Kconfig variable 2007-09-11 17:21:20 -07:00
i386 sched: x86: allow single-depth wchan output 2007-10-15 17:00:07 +02:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2007-10-15 09:57:54 -07:00
m32r Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
m68k Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
m68knommu m68k(nommu): add missing syscalls 2007-09-11 17:21:20 -07:00
mips Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
parisc Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
powerpc Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
ppc [POWERPC] Remove redundant reference to non-existent CONFIG_BOOTIMG 2007-10-09 21:02:00 +10:00
s390 Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
sh Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
sh64 Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
sparc [SPARC/64]: Move of_platform_driver initialisations: arch/sparc{,64}. 2007-10-13 21:53:12 -07:00
sparc64 [SPARC64]: virt_to_real_irq_table --> virt_irq_table 2007-10-13 23:52:14 -07:00
um Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
v850 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
x86 x86: Convert cpu_core_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
x86_64 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2007-10-12 15:50:23 -07:00
xtensa Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00