Re: Purpose of numa_node?

From: Brice Goglin
Date: Thu Jan 31 2008 - 16:35:38 EST


Yinghai Lu wrote:
> On Jan 31, 2008 5:42 AM, Brice Goglin <Brice.Goglin@xxxxxxxx> wrote:
>
>> It works fine on regular machines such as dual opterons. However, I
>> noticed recently that it was wrong on some quad-opteron machines (see
>> http://marc.info/?l=linux-pci&m=119072400008538&w=2) because something
>> is not initialized in the right order. But I haven't tested 2.6.24 on
>> this hardware yet, and I don't know if things have changed regarding this.
>>
>
> that will depend if you dsdt have _PXM for your pci root bus.
> otherwise you will get all -1
>

Have a look at the above link. I don't get -1. I get 0 everywhere, while
I should get 1 for some devices. And if I unplug/replug a device using
fakephp, numa_node becomes correct (1 instead of 0). This just looks
like the code is there but things are initialized in the wrong order.

Brice


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