[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/4] pci: Do not ignore device's PXM information

>>> On 07.01.15 at 16:31, <boris.ostrovsky@xxxxxxxxxx> wrote:
> On 01/07/2015 10:06 AM, Jan Beulich wrote:
>>>> Of course an additional question would be whether the node wouldn't
>>>> better go into struct arch_pci_dev - that depends on whether we
>>>> expect ARM to be using NUMA...
>>> Since we have CPU topology in common code I thought this would be
>>> arch-independent as well.
>> Not sure what you're referring to here: What common piece of data
>> stores the node of a particular CPU? cpu_to_node[] clearly is x86-
>> specific.
> I meant that we have common interface (sysctl) for querying topology and 
> PCI is a common IO bus (unlike CPUs) so I figured I'd keep node in 
> common part as well.

Makes little sense: ARM stubs out cpu_to_node(), so a similar
mechanism could be used to hide the fact that some arch-es may
have no node associated with a PCI device.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.