Thread (2 messages) flat view 2 messages, 2 authors, 2004-07-15

Re: Fw: 2.6.8-rc1-mm1 "Badness in schedule" on ppc32

From: Nick Piggin <hidden>
Date: 2004-07-15 01:56:05

Andrew Morton wrote:
Nick , Ingo: could you please appropriately berate the ppc developers
over this?  They're ignoring me ;)

Or, if we don't really think the risk is very high, maybe I should just drop
the debug patch?
sched-clean-init-idle has the following hunk to schedule() which
should catch all unsafe calls to it, I think.

+	/*
+	 * The idle thread is not allowed to schedule!
+	 * Remove this check after it has been exercised a bit.
+	 */
+	if (unlikely(current == rq->idle) && current->state != TASK_RUNNING) {
+		printk(KERN_ERR "bad: scheduling from the idle thread!\n");
+		dump_stack();
+	}
+

Probably the patch can go.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help