context-switch on IA64

From: <>
Date: 2004-03-31 20:03:08

there is something I can't understand in scheduler of 2.6.3 (with
preemption) on IA64.

I made a test on the "prev" task just before the "context_switch" (in
fact, just before the "prepare_switch_arch") to know if a specific
task was still on the runqueue :

	BUG_ON( (prev == mytask) && prev->array )

and I made the same test just after the "context_switch" (before the
"finisk_task"). Eventually, the 2nd BUG_ON is triggered but not the
1st one.

So the question is : how the task has been re-activated during a
context_switch ?


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at

Received on Wed Mar 31 05:03:33 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST