Re: [PATCH 2/3] add dev_to_node()

From: Christoph Lameter
Date: Tue Oct 31 2006 - 20:58:54 EST


On Tue, 31 Oct 2006, David Miller wrote:

> Yes, that's possible, because the idea is that the arch specific
> bus layer code would initialize the node value. Therefore, there
> would be no need for things like pcibus_to_node() any longer.

Then lets rename pcibus_to_node to dev_to_node() throughout the kernel.
Provide a -1 default. Then other device layers that are not based on pci
will also be able to exploit NUMA locality.
-
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/