Re: Memory leak in 2.4.27 kernel, using mmap raw packet sockets

From: Alan Cox
Date: Wed Oct 20 2004 - 17:41:58 EST


On Maw, 2004-10-19 at 15:35, Marcelo Tosatti wrote:
> > That isnt sufficient. Consider anything else taking a reference to the
> > page and the refcount going negative.
>
> You mean not going negative? The problem here as I understand here is
> we dont release the count if the PageReserved is set, but we should.

Drivers like the OSS audio drivers move page between Reserved and
unreserved. The count can thus be corrupted.


-
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/