]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/cpuset.c
vlan: avoid header copying and linearisation where possible
[linux-2.6-omap-h63xx.git] / kernel / cpuset.c
index 66103a119bfea2924ff638a81ba07a321e9787e8..9fceb97e989c25c82e438010437804774b892025 100644 (file)
@@ -1890,6 +1890,12 @@ static void common_cpu_mem_hotplug_unplug(void)
        top_cpuset.mems_allowed = node_states[N_HIGH_MEMORY];
        scan_for_empty_cpusets(&top_cpuset);
 
+       /*
+        * Scheduler destroys domains on hotplug events.
+        * Rebuild them based on the current settings.
+        */
+       rebuild_sched_domains();
+
        cgroup_unlock();
 }