Re: [PATCH] PPC64: Generic hotplug cpu support

From: Andrew Morton
Date: Sun Feb 27 2005 - 17:51:45 EST


Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > - if (cpu_is_offline(smp_processor_id()) &&
> > + if (cpu_is_offline(_smp_processor_id()) &&
> > system_state == SYSTEM_RUNNING)
> > cpu_die();
> > }
> > _
>
> This is the idle loop. Is that ever supposed to be preempted ?

Nope, it's a false positive. We had to do the same in x86's idle loop and
probably others will hit it.

-
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/