From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp4.clb.oleane.net (smtp4.clb.oleane.net [213.56.31.20]) by ozlabs.org (Postfix) with ESMTP id 3370E67B80 for ; Wed, 5 Jul 2006 19:10:39 +1000 (EST) From: "Laurent Lagrange" To: "'Li Yang-r58472'" , Subject: RE: Linux 2.6.x : cpm_dpalloc alignment bug perhaps not fully resolved Date: Wed, 5 Jul 2006 11:11:41 +0200 Message-ID: <000001c6a013$0f321100$5201a8c0@GEG2400> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: <9FCDBA58F226D911B202000BDBAD467306FFBEDC@zch01exm40.ap.freescale.net> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > -----Message d'origine----- > De : Li Yang-r58472 [mailto:LeoLi@freescale.com] > Envoyé : mer. 5 juillet 2006 09:36 > À : Laurent Lagrange; pantelis@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