Paul Durrant wrote:
Andrew Gallatin wrote:
Isn't the overhead to map/unmap the buffer fairly high? Why don't
you keep the buffer mapped?
That was what I was getting at. If the pool is shared amongst drivers
then the buffer has to be unmapped before being recycled (in case it's
allocated by a different driver) thus blowing away most of the advantage
of loanup.
Perhaps you'd want to setup buffer pools based on things
like which IOMMU the device is behind, and DMA constraints.
That way the vast majority of installs which use either a
single instance of a single device, or multiple instances
of the same type of device, would be able to share a pool.
I'm just speculating..
Drew
_______________________________________________
networking-discuss mailing list
[email protected]