On Mon, Feb 10, 2014 at 06:26:20PM -0700, Toshi Kani wrote: > > get/put_online_cpus() is a reader-lock and concurrent executions are > allowed among the readers. They won't be serialized until a cpu > online/offline operation begins. By replacing this lock with > cpu_maps_update_begin/done(), we now serialize all readers.
We're not serializing all the readers, just the ones which want to register/unregister their cpu-hotplug notifiers. This is a one-off event which typically happens during a module_init() or a module_exit() time. So this patchset does not replace get/put_online_cpus() if that is the concern! -- Thanks and Regards gautham. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/