* Oleg Nesterov <oleg@xxxxxxxxxx> wrote: > But "[PATCH 1/3] work_on_cpu: dont try to get_online_cpus() in > work_on_cpu." removes get_online_cpus/put_online_cpus, this means the > work can run on the wrong CPU anyway. Or work_on_cpu() can hang forever > if CPU has already gone away before queue_work_on(). > > Confused. The idea was to require work_on_cpu() users to be CPU hotplug-safe. But ... Rusty pointed it out in the past that this might be fragile, and we could put back the get_online_cpus()/put_online_cpus() calls. Rusty, what do you think? Ingo -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html