mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
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>
This commit is contained in:
@@ -1485,9 +1485,6 @@ static void update_isolation_cpumasks(void)
|
||||
ret = housekeeping_update(isolated_cpus);
|
||||
WARN_ON_ONCE(ret < 0);
|
||||
|
||||
ret = tmigr_isolated_exclude_cpumask(isolated_cpus);
|
||||
WARN_ON_ONCE(ret < 0);
|
||||
|
||||
isolated_cpus_updating = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -149,9 +149,13 @@ int housekeeping_update(struct cpumask *isol_mask)
|
||||
pci_probe_flush_workqueue();
|
||||
mem_cgroup_flush_workqueue();
|
||||
vmstat_flush_workqueue();
|
||||
|
||||
err = workqueue_unbound_housekeeping_update(housekeeping_cpumask(HK_TYPE_DOMAIN));
|
||||
WARN_ON_ONCE(err < 0);
|
||||
|
||||
err = tmigr_isolated_exclude_cpumask(isol_mask);
|
||||
WARN_ON_ONCE(err < 0);
|
||||
|
||||
kfree(old);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user