Re: [PATCH] sched/core: Clear the root_domain cpumasks in init_rootdomain()

Peter Zijlstra
2015-12-04T08:27:08Z

On Fri, Dec 04, 2015 at 09:09:01AM +0100, Ingo Molnar wrote:
> and then this code:
>
> > > cpumask_andnot(doms_cur[0], cpu_map, cpu_isolated_map);
>
> uses it without first clearing it.
>
> So is this another such bug, or am I missing something?

It uses it as destination, it does a complete write of the mask.