linux-stable-rt/arch/mips
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
..
arc
au1000 Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
boot Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt
configs PNX8550 uses a MIPS32-like processor core, not R4xx0. 2005-11-07 18:05:36 +00:00
ddb5xxx Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
dec Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
galileo-boards/ev96100
gt64120
ite-boards
jazz
jmr3927 Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
kernel [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
lasat Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
lib
lib-32
lib-64
math-emu
mips-boards
mm
momentum Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
oprofile
pci
philips/pnx8550
pmc-sierra Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
qemu
sgi-ip22 Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
sgi-ip27 [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
sgi-ip32
sibyte Use rtc_lock to protect RTC operations 2005-11-07 18:05:38 +00:00
sni
tx4927
tx4938 [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
vr41xx
Kconfig PNX8550 uses a MIPS32-like processor core, not R4xx0. 2005-11-07 18:05:36 +00:00
Kconfig.debug
Makefile
defconfig