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

From: Anton Blanchard
Date: Mon Jan 11 2010 - 20:09:59 EST



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/