mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
5bfb5d690f
Run idle threads with preempt disabled. Also corrected a bugs in arm26's cpu_idle (make it actually call schedule()). How did it ever work before? Might fix the CPU hotplugging hang which Nigel Cunningham noted. We think the bug hits if the idle thread is preempted after checking need_resched() and before going to sleep, then the CPU offlined. After calling stop_machine_run, the CPU eventually returns from preemption and into the idle thread and goes to sleep. The CPU will continue executing previous idle and have no chance to call play_dead. By disabling preemption until we are ready to explicitly schedule, this bug is fixed and the idle threads generally become more robust. From: alexs <ashepard@u.washington.edu> PPC build fix From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> MIPS build fix Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
break.S | ||
cmode.S | ||
debug-stub.c | ||
dma.c | ||
entry-table.S | ||
entry.S | ||
frv_ksyms.c | ||
gdb-io.c | ||
gdb-io.h | ||
gdb-stub.c | ||
head-mmu-fr451.S | ||
head-uc-fr401.S | ||
head-uc-fr451.S | ||
head-uc-fr555.S | ||
head.inc | ||
head.S | ||
init_task.c | ||
irq-mb93091.c | ||
irq-mb93093.c | ||
irq-mb93493.c | ||
irq-routing.c | ||
irq.c | ||
kernel_thread.S | ||
local.h | ||
Makefile | ||
pm-mb93093.c | ||
pm.c | ||
process.c | ||
ptrace.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
sleep.S | ||
switch_to.S | ||
sys_frv.c | ||
sysctl.c | ||
time.c | ||
traps.c | ||
uaccess.c | ||
vmlinux.lds.S |