From: J.A. Magallon (
Date: Tue May 07 2002 - 10:03:57 EST

Hi all...

I am trying to mix the irqbalance patch on top of the O1-scheduler
to use it on a dual P4 box.

Everything mix easy but this piece of code in irqbalance:

int idle_cpu(int cpu)
   return cpu_curr(cpu) == idle_task(cpu);

2.4.18 defines it as

sched.c:#define idle_task(cpu) (init_tasks[cpu_number_map(cpu)])
sched.c:#define idle_task(cpu) (&init_task)

but O1 kills it.

Any syggestion on hwo to implement idle_cpu() on top of O1 ?


J.A. Magallon                           #  Let the source be with you...
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre8-jam1 #1 SMP mar may 7 01:51:45 CEST 2002 i686
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:29 EST