Re: Module-loading problem with 4MB of ram

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 18 Sep 2001 14:05:00 +0100 (BST)


> 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/