Re: Does smp_reschedule_interrupt really reschedule?

From: Ingo Molnar
Date: Sat May 14 2005 - 01:40:13 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> In finish_task_switch, where is need_resched set?

why should it be set? It's the final portion of a context-switch, not
the initiator of a context-switch. need_resched is usually set by the
wakeup code, or by the preemption code.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/