Re: [PATCH 6/8] net: use numa_node in net_devcice->dev instead ofparent

From: Ingo Molnar
Date: Wed Feb 20 2008 - 01:27:37 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> 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
--
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/