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

Pantelis Antoniou pantelis at embeddedalley.com
Wed Jul 5 19:38:17 EST 2006


On Wednesday 05 July 2006 12:11, Laurent Lagrange wrote:
> 
> > -----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
> 
> 
> 

Should be a bug at the free. I'll take a look at it when I have a few
spare cycles.

Pantelis



More information about the Linuxppc-embedded mailing list