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

Chris Boot
2011-09-17T20:17:56Z

On 17/09/2011 20:22, adam radford wrote:
> On Sat, Sep 17, 2011 at 7:29 AM, Chris Boot<bootc@bootc.net> 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@bootc.net