Re: [PATCH v2 1/2] rcu: don't bind offline cpu

From: Peter Zijlstra
Date: Thu May 19 2011 - 04:35:31 EST


On Thu, 2011-05-19 at 15:06 +0900, KOSAKI Motohiro wrote:
>
> The right way is, explicit two phase cpu bindings (1) bind boot
> (or any other online) cpu at CPU_UP_PREPARE (2) bind correct
> target cpu at CPU_ONLINE. This patch does it.

I'm not sure that is in-fact correct. From what I understood, RCU could
have need of this thread before the ONLINE callback and expects it to be
affine at that time.

What was wrong with delaying the wakeup to STARTING?
--
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/