linux_dsm_epyc7002/arch/ppc64
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
..
boot [PATCH] ppc64: Fix zImage boot 2005-11-07 07:53:23 -08:00
configs [PATCH] ppc64: update defconfigs 2005-10-19 23:12:36 -07:00
kernel [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
xmon powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
defconfig [PATCH] ppc64: compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig 2005-10-29 15:14:44 +10:00
Kconfig [PATCH] Memory Add Fixes for ppc64 2005-11-08 11:20:00 +11:00
Kconfig.debug [PATCH] powerpc: Kill ppcdebug 2005-11-07 12:37:45 +11:00
Makefile powerpc: fix __strnlen_user in merge tree 2005-11-01 14:34:17 +11:00