>               if (current->need_resched != 0 ||
>                   ((p = init_task.next_run) != NULL &&
>                    (p->processor == smp_processor_id() ||
>                     (p->tss.flags & SPARC_FLAG_NEWCHILD) != 0)))
>                       schedule();

Given the races in the above have you proved they work out safely. Thats
the first thing I looked at and why I never looked further at your example

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to