Re: Module-loading problem with 4MB of ram

From: Pasi Kärkkäinen (pasik@iki.fi)
Date: Fri Sep 21 2001 - 06:51:50 EST


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/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:43 EST