On 04/11/2019 00:39, Valentin Schneider wrote: > Michal noted that a cpuset's effective_cpus can be a non-empy mask, but > because of the masking done with housekeeping_cpumask(HK_FLAG_DOMAIN) > further down the line, we can still end up with an empty cpumask being > passed down to partition_sched_domains_locked(). > > Do the proper thing and don't just check the mask is non-empty - check > that its intersection with housekeeping_cpumask(HK_FLAG_DOMAIN) is > non-empty. > > Fixes: cd1cb3350561 ("sched/topology: Don't try to build empty sched domains") > Reported-by: Michal Koutný <mkoutny@xxxxxxxx> Michal, could I nag you for a reviewed-by? I'd feel a bit more confident with any sort of approval from folks who actually do use cpusets. > Signed-off-by: Valentin Schneider <valentin.schneider@xxxxxxx>