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

Laurent Lagrange lagrange at
Wed Jul 5 19:11:41 EST 2006

> -----Message d'origine-----
> De : Li Yang-r58472 [mailto:LeoLi at]
> Envoyé : mer. 5 juillet 2006 09:36
> À : Laurent Lagrange; pantelis at
> >
> > The patch, I already applied, comes directly from Pantelis
> > and is the same code as found at
> >
> 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 ?

More information about the Linuxppc-embedded mailing list