Re: [PATCH] irq: Add node_affinity CPU masks for smarter irqbalancehints

From: Eric Dumazet
Date: Tue Nov 24 2009 - 15:46:54 EST


Andi Kleen a écrit :
> They are typically allocated with dma_alloc_coherent(), which does
> allocate a continuous area. In theory you could do interleaving
> with IOMMus, but just putting it on the same node as the device
> is probably better.

There are two parts, biggest one allocated with vmalloc()
(to hold struct ixgbe_rx_buffer array, 32 bytes or more per entry),
only used by driver (not adapter)

and one allocated with pci_alloc_consistent()
(to hold ixgbe_adv_tx_desc array, 16 bytes per entry)

vmalloc() one could be spreaded on many nodes.
I am not speaking about the pci_alloc_consistent() one :)


--
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/