Re: [PATCH v2] Fix fake numa on ppc

From: David Rientjes
Date: Wed Sep 02 2009 - 15:36:21 EST

On Wed, 2 Sep 2009, Ankita Garg wrote:

> Currently, the behavior of fake numa is not so on x86 as well? Below is
> a sample output from a single node x86 system booted with numa=fake=8:
> # cat node0/cpulist
> # cat node1/cpulist
> ...
> # cat node6/cpulist
> # cat node7/cpulist
> 0-7
> Presently, just fixing the cpu association issue with ppc, as explained
> in my previous mail.

Right, I'm proposing an alternate mapping scheme (which we've used for
years) for both platforms such that a cpu is bound (and is set in
cpumask_of_node()) to each fake node with which it has physical affinity.
That is the only way for zonelist ordering in node order, task migration
from offlined cpus, correct sched domains, etc. I can propose a patchset
for x86_64 to do exactly this if there aren't any objections and I hope
you'll help do ppc.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at