Re: [discuss] Re: pcibus_to_node value when no pxm info is present for the pci bus

From: Andi Kleen
Date: Thu Dec 08 2005 - 15:04:00 EST


> > > The question is, what should be the default pcibus_to_node if there is no
> > > pxm info? Answer seems like -1 -- in which case dma_alloc_pages and e1000
> > > driver has to be fixed.
> >
> > Why would they have to be fixed?
>
> alloc_pages_node (used by dma_alloc_pages) does not seem to do the check
> though. I guess alloc_pages_node needs to be fixed then.

Or just fix the caller. I will do that and change the default to
return -1 instead of 0.

Thanks,
-Andi
-
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/