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

Re: [PATCH v6 05/15] swiotlb: Add a new get_io_tlb_mem getter

> +static inline struct io_tlb_mem *get_io_tlb_mem(struct device *dev)
> +{
> +     if (dev && dev->dma_io_tlb_mem)
> +             return dev->dma_io_tlb_mem;
> +
> +     return io_tlb_default_mem;

Given that we're also looking into a not addressing restricted pool
I'd rather always assign the active pool to dev->dma_io_tlb_mem and
do away with this helper.



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