Re: Module-loading problem with 4MB of ram

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Sep 18 2001 - 08:05:00 EST


> 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
-
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:25 EST