RE: [patch] scheduler bugfix, SMP, 2.4.0-test7

From: Dimitris Michailidis (
Date: Mon Aug 28 2000 - 17:09:20 EST

On 28-Aug-2000 Ingo Molnar wrote:
> the attached sched-2.4.0-test7-C1 patch fixes a 'missed wakeup'
> SMP-scheduler bug.

+ if (prev == idle_task(smp_processor_id()))
+ goto out_unlock;

Why don't you move the test for the idle task to the beginning of the
function so we don't need to take the run queue lock if prev is idle? There
is nothing to be done for idle tasks, we don't even need to set ->has_cpu.

Dimitris Michailidis          
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:22 EST