Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cpuset: Propagate cpuset isolation update to timers through housekeeping

Until now, cpuset would propagate isolated partition changes to
timer migration so that unbound timers don't get migrated to isolated
CPUs.

Since housekeeping now centralizes, synchronize and propagates isolation
cpumask changes, perform the work from that subsystem for consolidation
and consistency purposes.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>

+4 -3
-3
kernel/cgroup/cpuset.c
··· 1485 1485 ret = housekeeping_update(isolated_cpus); 1486 1486 WARN_ON_ONCE(ret < 0); 1487 1487 1488 - ret = tmigr_isolated_exclude_cpumask(isolated_cpus); 1489 - WARN_ON_ONCE(ret < 0); 1490 - 1491 1488 isolated_cpus_updating = false; 1492 1489 } 1493 1490
+4
kernel/sched/isolation.c
··· 149 149 pci_probe_flush_workqueue(); 150 150 mem_cgroup_flush_workqueue(); 151 151 vmstat_flush_workqueue(); 152 + 152 153 err = workqueue_unbound_housekeeping_update(housekeeping_cpumask(HK_TYPE_DOMAIN)); 154 + WARN_ON_ONCE(err < 0); 155 + 156 + err = tmigr_isolated_exclude_cpumask(isol_mask); 153 157 WARN_ON_ONCE(err < 0); 154 158 155 159 kfree(old);