Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

From: Juri Lelli
Date: Thu Jun 14 2018 - 10:30:53 EST


On 14/06/18 14:58, Quentin Perret wrote:

[...]

> Hmm not sure if this can help but I think that rebuild_sched_domains()
> does _not_ take the hotplug lock before calling partition_sched_domains()
> when CONFIG_CPUSETS=n. But it does take it for CONFIG_CPUSETS=y.

Did you mean cpuset_mutex?

cpu_hotplug_lock seems to be the problem here..

Can't seem to follow otherwise. :-(