Re: [PATCH 1/4] try parent numa_node at first before using default

From: Yinghai Lu
Date: Mon Jul 09 2007 - 21:00:47 EST


Greg KH wrote:
On Tue, Jul 03, 2007 at 05:31:02PM -0700, Yinghai Lu wrote:
[PATCH 1/4] try parent numa_node at first before using default


What is this going to give us?
you can use dev_to_node(netdev->dev) or dev_to_node(usb_device->dev) directly, and don't need to go to find pci_device up to get numa_node.

Doesn't it mean that all devices will end up on the same node?
yes.
For x86_64, devices under node1 will have 1, and device under node0 will all have 0.

current only pci_dev->dev.numa_node is used.

YH


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