kernel-aes67/arch/s390/kernel
Nick Piggin 5bfb5d690f [PATCH] sched: disable preempt in idle tasks
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>
2005-11-09 07:56:33 -08:00
..
asm-offsets.c
binfmt_elf32.c
bitmap.S
compat_exec_domain.c
compat_ioctl.c [PATCH] s390: 3270 fullscreen view 2005-10-30 17:37:16 -08:00
compat_linux.c [PATCH] x86-64: Fix 32bit sendfile 2005-09-12 10:49:57 -07:00
compat_linux.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compat_ptrace.h
compat_signal.c [PATCH] s390 signal annotations 2005-09-29 08:46:27 -07:00
compat_wrapper.S [PATCH] s390: ioprio & inotify system calls. 2005-08-01 21:37:59 -07:00
cpcmd.c [PATCH] broken inline asm on s390 (misuse of labels) 2005-08-23 18:43:44 -07:00
crash.c [PATCH] kdump: Use real pt_regs from exception 2005-06-25 16:24:54 -07:00
debug.c [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
ebcdic.c
entry64.S [PATCH] s390: signal delivery 2005-11-07 07:53:32 -08:00
entry.S [PATCH] s390: signal delivery 2005-11-07 07:53:32 -08:00
head31.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
head64.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
head.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
init_task.c
irq.c
machine_kexec.c [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
Makefile [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
module.c
process.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
profile.c
ptrace.c
reipl64.S
reipl_diag.c [PATCH] s390: diag 0x308 reipl 2005-09-17 11:49:59 -07:00
reipl.S
relocate_kernel64.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
relocate_kernel.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
s390_ext.c [PATCH] s390: external call performance 2005-07-27 16:26:04 -07:00
s390_ksyms.c
semaphore.c
setup.c [PATCH] s390: export ipl device parameters 2005-10-30 17:37:16 -08:00
signal.c [PATCH] s390 signal annotations 2005-09-29 08:46:27 -07:00
smp.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
sys_s390.c
syscalls.S [PATCH] s390: ioprio & inotify system calls. 2005-08-01 21:37:59 -07:00
time.c [PATCH] s390: stop_hz_timer vs. xtime updates 2005-11-07 07:53:32 -08:00
traps.c [PATCH] s390: remove pagex support 2005-11-07 07:53:33 -08:00
vmlinux.lds.S
vtime.c [PATCH] remove timer debug field 2005-10-30 17:37:18 -08:00