linux/include
Zwane Mwaikambo 4ad8d38342 [PATCH] i386 boottime for_each_cpu broken
for_each_cpu walks through all processors in cpu_possible_map, which is
defined as cpu_callout_map on i386 and isn't initialised until all
processors have been booted. This breaks things which do for_each_cpu
iterations early during boot. So, define cpu_possible_map as a bitmap with
NR_CPUS bits populated. This was triggered by a patch i'm working on which
does alloc_percpu before bringing up secondary processors.

From: Alexander Nyberg <alexn@telia.com>

i386-boottime-for_each_cpu-broken.patch
i386-boottime-for_each_cpu-broken-fix.patch

The SMP version of __alloc_percpu checks the cpu_possible_map before
allocating memory for a certain cpu.  With the above patches the BSP cpuid
is never set in cpu_possible_map which breaks CONFIG_SMP on uniprocessor
machines (as soon as someone tries to dereference something allocated via
__alloc_percpu, which in fact is never allocated since the cpu is not set
in cpu_possible_map).

Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-05 00:06:13 -07:00
..
acpi
asm-alpha [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-arm [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-arm26 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-cris [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-frv [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-generic [PATCH] x86: ptep_clear optimization 2005-09-05 00:05:48 -07:00
asm-h8300 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-i386 [PATCH] i386 boottime for_each_cpu broken 2005-09-05 00:06:13 -07:00
asm-ia64 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-m32r [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-m68k [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-m68knommu [PATCH] mm: consolidate get_order 2005-09-05 00:05:39 -07:00
asm-mips [PATCH] mips: remove timex.h for vr41xx 2005-09-05 00:06:08 -07:00
asm-parisc [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-powerpc [PATCH] Move all the very similar files to asm-powerpc 2005-08-30 13:32:06 +10:00
asm-ppc [PATCH] ppc32: mv64x60 updates & enhancements 2005-09-05 00:06:00 -07:00
asm-ppc64 [PATCH] ppc64: Add VMX save flag to VPA 2005-09-05 00:06:01 -07:00
asm-s390 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-sh [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-sh64 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-sparc [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-sparc64 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-um [PATCH] mm: correct _PAGE_FILE comment 2005-09-05 00:05:45 -07:00
asm-v850 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-x86_64 [PATCH] i386: cleanup serialize msr 2005-09-05 00:06:11 -07:00
asm-xtensa [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
linux [PATCH] x86: fix EFI memory map parsing 2005-09-05 00:06:09 -07:00
math-emu
media
mtd
net /spare/repo/netdev-2.6 branch 'master' 2005-09-01 18:02:01 -04:00
pcmcia
rdma
rxrpc
scsi
sound [ALSA] version 1.0.10rc1 2005-08-30 08:48:35 +02:00
video [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00