Re: [PATCH 10 of 20] ipath - support for userspace apps using coredriver

From: Hugh Dickins
Date: Tue Mar 21 2006 - 18:16:46 EST

On Tue, 21 Mar 2006, Bryan O'Sullivan wrote:
> On 2.6.15, this all "works", but I have the poor kernel thinking it
> loses 4.5MB of memory on every run. On 2.6.16-rc6, I get a BUG. I'll
> have to do a bit of work to reproduce it, so I can't paste it here yet.
> So my quandary is thus: what am I doing wrong? It seems that my calls
> to get_page are more or less correct, but should I be doing a put_page
> somewhere, too, such as when the char dev's release method is called,
> prior to calling dma_free_coherent?

Please mail me your source (I guess as a patch against 2.6.15),
and tomorrow I'll try to see if I can work out the leak; probably
won't work out the BUG until you can send us the messages - thanks.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at