Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 08:51:32 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-net@freebsd.org, "V.Chukharev" <chukharev@mail.ru>
Subject:   Re: iwi leaks memory?
Message-ID:  <20070216085132.A7944@xorpc.icir.org>
In-Reply-To: <200702161738.35142.max@love2party.net>; from max@love2party.net on Fri, Feb 16, 2007 at 05:38:28PM %2B0100
References:  <op.tns7i21z0g54sc@localhost> <op.tnum01qg0g54sc@localhost> <20070216081737.A7793@xorpc.icir.org> <200702161738.35142.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 16, 2007 at 05:38:28PM +0100, Max Laier wrote:
...
> I'm under the impression that this is more a problem of increasing 
> fragmentation until we can't get a big enough unfragmented chunk.  I 
> don't have any proof of this assumption yet.

makes sense.
As a matter of fact i wonder whether it wouldn't be smarter
to allocate the dma-ble memory on the first request and
keep it around until the driver is unloaded.

If i read the code in iwi_load_firmware() correctly,
the contiguous chunks cannot be longer than 8191 bytes,
so a single contiguous buffer is not mandatory.
I just don't know if we can write the firmware to the adapter
with multiple operations (lists of command blocks) or
it needs to be just a single list ?

	cheers
	luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070216085132.A7944>