android_kernel_xiaomi_sm8350/arch
Ravikiran G Thirumalai 488fc08d91 [PATCH] x86_64: Fix the node cpumask of a cpu going down
Currently, x86_64 and ia64 arches do not clear the corresponding bits in
the node's cpumask when a cpu goes down or cpu bring up is cancelled.  This
is buggy since there are pieces of common code where the cpumask is checked
in the cpu down code path to decide on things (like in the slab down path).
 PPC does the right thing, but x86_64 and ia64 don't (This was the reason
Sonny hit upon a slab bug during cpu offline on ppc and could not reproduce
on other arches).  This patch fixes it for x86_64.  I won't attempt ia64 as
I cannot test it.

Credit for spotting this should go to Alok.

(akpm: this was applied, then reverted.  But it's OK now because we now use
for_each_cpu() in the right places).

Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-07 16:12:31 -08:00
..
alpha [PATCH] alpha show_interrups() trashes argument 2006-02-01 08:53:21 -08:00
arm [ARM] Remove ARCH_CAMELOT from at91 defconfigs 2006-02-03 23:03:21 +00:00
arm26 [PATCH] arm26: select BLK_DEV_FD only on A5K 2006-02-01 08:53:22 -08:00
cris cris: asm-offsets related build failure 2006-01-21 12:04:14 +01:00
frv [PATCH] Handle TIF_RESTORE_SIGMASK for FRV 2006-01-18 19:20:29 -08:00
h8300 [PATCH] h8300: task_stack_page() 2006-01-12 09:08:55 -08:00
i386 [PATCH] Fix bad apic fix on i386 2006-02-07 10:08:38 -08:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2006-02-06 15:46:39 -08:00
m32r [PATCH] m32r: task_pt_regs(), task_stack_page(), task_thread_info() 2006-01-12 09:08:54 -08:00
m68k [PATCH] m68k: console code in head.S needs framebuffer support built in 2006-01-12 09:09:06 -08:00
m68knommu [PATCH] m68knommu: task_stack_page() 2006-01-12 09:08:55 -08:00
mips [MIPS] Clear ST0_RE on bootup. 2006-02-07 13:30:26 +00:00
parisc [PARISC] New syscalls (inotify, *at, pselect6/ppoll, migrate_pages) 2006-01-30 00:53:14 -05:00
powerpc [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
ppc [PATCH] mv643xx_eth: Fix for building as a module 2006-01-27 11:09:24 -05:00
s390 [PATCH] s390: fix compat syscall wrapper 2006-02-03 08:32:01 -08:00
sh [PATCH] sh: machine_halt()/machine_power_off() cleanups 2006-02-01 08:53:20 -08:00
sh64 [PATCH] arch/sh64/kernel/time.c: add module.h 2006-02-01 08:53:20 -08:00
sparc [SPARC]: Fix compile failures in math-emu. 2006-01-30 16:46:24 -08:00
sparc64 [SPARC64]: Update defconfig. 2006-02-05 00:15:12 -08:00
um [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
v850 [PATCH] Fix some ucLinux breakage from the tty updates 2006-02-03 08:32:04 -08:00
x86_64 [PATCH] x86_64: Fix the node cpumask of a cpu going down 2006-02-07 16:12:31 -08:00
xtensa [PATCH] Fix some ucLinux breakage from the tty updates 2006-02-03 08:32:04 -08:00