Re: Module-loading problem with 4MB of ram

Pasi Kärkkäinen (pasik@iki.fi)
Fri, 21 Sep 2001 14:51:50 +0300 (EEST)


On Tue, 18 Sep 2001, Alan Cox wrote:

> > ptr =3D dmalloc(size, GFP_ATOMIC);
> > is there any way to reserve some memory for the driver-module?
>
> Since its very unlikely the firmware is DMA transfered into the card (check
> that obviously) I suspect using vmalloc/vfree instead of kmalloc/kfree will
> do the trick
>

Thank you. This really worked!

- Pasi Kärkkäinen

^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/