···377377bugzilla.kernel.org is where the Linux kernel developers track kernel378378bugs. Users are encouraged to report all bugs that they find in this379379tool. For details on how to use the kernel bugzilla, please see:380380- http://test.kernel.org/bugzilla/faq.html380380+ http://bugzilla.kernel.org/page.cgi?id=faq.html381381382382The file REPORTING-BUGS in the main kernel source directory has a good383383template for how to report a possible kernel bug, and details what kind
···18941894 * in order to minimize text size.18951895 */1896189618971897-static void common_cpu_mem_hotplug_unplug(void)18971897+static void common_cpu_mem_hotplug_unplug(int rebuild_sd)18981898{18991899 cgroup_lock();19001900···19061906 * Scheduler destroys domains on hotplug events.19071907 * Rebuild them based on the current settings.19081908 */19091909- rebuild_sched_domains();19091909+ if (rebuild_sd)19101910+ rebuild_sched_domains();1910191119111912 cgroup_unlock();19121913}···19251924static int cpuset_handle_cpuhp(struct notifier_block *unused_nb,19261925 unsigned long phase, void *unused_cpu)19271926{19281928- if (phase == CPU_DYING || phase == CPU_DYING_FROZEN)19271927+ switch (phase) {19281928+ case CPU_UP_CANCELED:19291929+ case CPU_UP_CANCELED_FROZEN:19301930+ case CPU_DOWN_FAILED:19311931+ case CPU_DOWN_FAILED_FROZEN:19321932+ case CPU_ONLINE:19331933+ case CPU_ONLINE_FROZEN:19341934+ case CPU_DEAD:19351935+ case CPU_DEAD_FROZEN:19361936+ common_cpu_mem_hotplug_unplug(1);19371937+ break;19381938+ default:19291939 return NOTIFY_DONE;19401940+ }1930194119311931- common_cpu_mem_hotplug_unplug();19321932- return 0;19421942+ return NOTIFY_OK;19331943}1934194419351945#ifdef CONFIG_MEMORY_HOTPLUG···1953194119541942void cpuset_track_online_nodes(void)19551943{19561956- common_cpu_mem_hotplug_unplug();19441944+ common_cpu_mem_hotplug_unplug(0);19571945}19581946#endif19591947