Re: [PATCH 5/8] try parent numa_node at first before using default v2

2008-02-19 Thread Yinghai Lu
On Tuesday 19 February 2008 09:54:23 am Greg KH wrote: > On Tue, Feb 19, 2008 at 03:20:41AM -0800, Yinghai Lu wrote: > > > > in the device_add, we try to use use parent numa_node. > > need to make sure pci root bus's bridge device numa_node is set. > > then we could use device->numa_node direclty

Re: [PATCH 5/8] try parent numa_node at first before using default v2

2008-02-19 Thread Greg KH
On Tue, Feb 19, 2008 at 03:20:41AM -0800, Yinghai Lu wrote: > > in the device_add, we try to use use parent numa_node. > need to make sure pci root bus's bridge device numa_node is set. > then we could use device->numa_node direclty for all device. > and don't need to call pcibus_to_node(). > > S

[PATCH 5/8] try parent numa_node at first before using default v2

2008-02-19 Thread Yinghai Lu
in the device_add, we try to use use parent numa_node. need to make sure pci root bus's bridge device numa_node is set. then we could use device->numa_node direclty for all device. and don't need to call pcibus_to_node(). Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> Index: linux-2.6/drivers/pci