Messages in this thread |  | | | Date | Wed, 20 Feb 2008 07:27:06 +0100 | | From | Ingo Molnar <> | | Subject | Re: [PATCH 6/8] net: use numa_node in net_devcice->dev instead of parent | |
* Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> > > can you check the 5/8? that will make sure every struct device get
> > > numa_node get assigned.
> >
> > Why do we need to bother with that if the parent will have the
> > necessary information for us here?
>
> less code?
>
> or some kind of usb or other bus interface. may have several level...
you mean it's a small optimization: otherwise every struct device (net
dev, usb...) need to go back to find another pci device (parent or host
controller) to use their numa_node.
Ingo
|  |