Linux 2.6.x : cpm_dpalloc alignment bug perhaps not fully resolved

Laurent Lagrange lagrange at fr.oleane.com
Wed Jul 5 19:11:41 EST 2006



> -----Message d'origine-----
> De : Li Yang-r58472 [mailto:LeoLi at freescale.com]
> Envoyé : mer. 5 juillet 2006 09:36
> À : Laurent Lagrange; pantelis at embeddedalley.com
> >
> > The patch, I already applied, comes directly from Pantelis
> > and is the same code as found at
> > http://patchwork.ozlabs.org/linuxppc/patch?id=3484
>
> Sure, it is the patch I mentioned.  Also be noted that the
> patch only fixes rheap in arch/ppc/.  If you are using latest
> 2.6 source, you are most probably using code under arch/powerpc/.
> >
I use a Linux 2.6.9 for MPC8260 and the arch/ppc/lib/rheap.c file.
I have no arch/powerpc tree in this kernel.

Before applying the patch, I was not able to get a right aligned area
with cpm_dpalloc. After applying it, cpm_dpalloc seems to be right
until I use cpm_dpfree and then cpm_dpalloc on the same area.

Another idea ?
Thanks
Laurent





More information about the Linuxppc-embedded mailing list