lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-02-20 07:29    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog