Re: [patch 0/6] cpumask_of_node() should handle -1 as a node

Anton Blanchard
2010-01-12T01:09:54Z

Hi Andrew,

> > A number of places in the kernel use cpumask_of_node(-1), but most arch
> > NUMA implementations are broken. The following patches fix this.
>
> So.. what's happening here? Nobody has applied the patches anywhere,
> you later said "the scheduler oopses in a number of places with
> CPUMASK_OFFSTACK and sparse node ids" and mention of a -stable backport
> was mentioned.

That scheduler issue doesn't appear in mainline as no one is allocating sparse
node IDs yet.

There is still the opportunity for an Oops with CPUMASK_OFFSTACK and
/sys/.../local_cpus and even with CPUMASK_OFFSTACK disabled it will return
random data.

Ralph has picked up the mips bit, Ben is sucking in the powerpc bit.
Davem has acked the sparc bit. I'll roll up a -stable patch once they
hit.

No answer from alpha and ia64.

Anton