Re: [patch 1/2] stop_machine: enable __stop_machine() to be calledfrom the cpu online path

From: H. Peter Anvin
Date: Tue Jun 07 2011 - 14:43:46 EST


On 06/07/2011 11:38 AM, Suresh Siddha wrote:
>
> This is kind of a false positive. We are just checking if the calling
> cpu is online/offline (and there is no possible process migration
> between an online and offline cpu).
>

Is the state not available in a percpu variable of some sort? If not,
shouldn't it be rather than indirecting via a CPU number?

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