iwi leaks memory?
Luigi Rizzo
rizzo at icir.org
Fri Feb 16 16:51:32 UTC 2007
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
More information about the freebsd-net
mailing list