Why not kmalloc() ??

Dan Malek dan at embeddededge.com
Sat Jul 17 05:02:01 EST 2004


On Jul 16, 2004, at 10:06 AM, Mark Chambers wrote:

> Is there any reason to use m8xx_cpm_hostalloc() over
> dma_alloc_consistent()
> for a loadable driver (that is, one loaded after VM initialized)?

You should always use dma_alloc_conistent().  The hostalloc space
is basically a small pre-allocated non-caches space that early
initialization
functions need.

Thanks.

	-- Dan


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





More information about the Linuxppc-embedded mailing list