Re: iommu_iova leak [inside 3w-9xxx]

From: Chris Boot
Date: Sat Sep 17 2011 - 16:18:13 EST


On 17/09/2011 20:22, adam radford wrote:
On Sat, Sep 17, 2011 at 7:29 AM, Chris Boot<bootc@xxxxxxxxx> wrote:
On 17 Sep 2011, at 12:57, Chris Boot wrote:
On 17 Sep 2011, at 11:45, Woodhouse, David wrote:
I suppose it's vaguely possible that we're leaking them in such a way
that they remain on the rbtree, perhaps if the deferred unmap is never
actually happening... but I think it's a whole lot more likely that the
PCI driver is just never bothering to unmap the pages it maps.
If you think 3w-9xxx is not unmapping pages it maps, please re-run with
CONFIG_PCI_DMA_DEBUG=y

I can't find a CONFIG_PCI_DMA_DEBUG to enable in 3.1-rc6. Did you mean CONFIG_DMA_API_DEBUG?

And as David Woodhouse mentions, the 3ware card houses my root filesystem - is there a way I can debug without unloading the module? If not I guess I can try to work around it but it would be difficult.

Cheers,
Chris

--
Chris Boot
bootc@xxxxxxxxx
--
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/