Why not kmalloc() ??
Dan Malek
dan at embeddededge.com
Fri Jul 16 21:46:15 EST 2004
On Jul 16, 2004, at 5:25 AM, Rupesh S wrote:
> 1) Can somebody throw some light on what exactly is the difference
> between m8xx_cpm_hostalloc() and kmalloc().
1) Cache coherency, and 2) need to allocate memory to CPM before the
kernel memory allocator has been initialized.
> 2) Why is the difference important in ppc linux ?
It's unique to the 8xx/82xx/85xx CPM peripherals that are used early
in the kernel start up process, not to the PowerPC Linux in general.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list