Why not kmalloc() ??

Dan Malek dan at embeddededge.com
Sat Jul 17 05:03:30 EST 2004


On Jul 16, 2004, at 11:42 AM, Rune Torgersen wrote:

> Yous should even be able to use kmalloc(x, GFP_KERNEL | GFP_DMA)

No.  This will not work properly on 8xx.

> This works on 82xx CPU's (and is actually used as a replacement for
> hostalloc
> on the rewritten cpm memory allocation stuff that is yet to be
> released)

That's because 82xx is cache coherent.  The 8xx is not.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list