From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailserv.intranet.gr (mailserv.intranet.GR [146.124.14.106]) by ozlabs.org (Postfix) with ESMTP id 0EEF26881D for ; Thu, 24 Nov 2005 23:56:34 +1100 (EST) Received: from mailserv.intranet.gr (localhost [127.0.0.1]) by mailserv.intranet.gr (8.13.1/8.13.1) with ESMTP id jAOD4t5R000949 for ; Thu, 24 Nov 2005 15:04:56 +0200 (EET) Message-ID: <4385B6AD.9060600@intracom.gr> Date: Thu, 24 Nov 2005 14:48:45 +0200 From: Pantelis Antoniou MIME-Version: 1.0 To: Clement Fabien References: <9C1918067C3BC14C9C351C206D8A843701F7F876@rennsmail03.eu.thmulti.com> In-Reply-To: <9C1918067C3BC14C9C351C206D8A843701F7F876@rennsmail03.eu.thmulti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Kumar Gala , linuxppc-embedded Subject: Re: [PATCH] CPM2: Fix totally bogus alignment handing of dpalloc List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Clement Fabien wrote: > Hi, > > Some results: alignments are now respected but it seems that the method > I took from linux 2.4 is more efficient in terms of memory consumption. > I will provide a complete patch today with the same mechanism for > rh_alloc_fixed. > > Fabien > > > Please don't bother. The other method messes up the deallocations, you just have to live with the wasted space. With rh_alloc_fixed you're suppossed to know your alignment, the align argument is bogus. Pantelis