On 02/06, Srivatsa S. Bhat wrote: > > The following method of CPU hotplug callback registration is not safe > due to the possibility of an ABBA deadlock involving the cpu_add_remove_lock > and the cpu_hotplug.lock.
Off-topic, but perhaps it also makes sense to add the lockdep annotations later, to catch other similar problems. Currently get_online_cpus() acquires nothing from lockdep pov. As for the this patch/series, personally I agree. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

