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

Ingo Molnar
2015-12-04T08:30:32Z

* Peter Zijlstra <peterz@infradead.org> wrote:

> 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.

ah, indeed! The cpumask primitive confused me.

Thanks,

Ingo