[PATCH] rheap: eliminates internal fragments caused by alignment

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Jun 20 02:17:25 EST 2007


On Mon, 2007-06-18 at 13:48 +0200, Joakim Tjernlund wrote:
> On Mon, 2007-06-18 at 19:29 +0800, Li Yang wrote:
> > The patch adds fragments caused by rh_alloc_align() back to free list, instead
> > of allocating the whole chunk of memory.  This will greatly improve memory
> > utilization managed by rheap.
> > 
> > It solves MURAM not enough problem with 3 UCCs enabled on MPC8323.
> > 
> > Signed-off-by: Li Yang <leoli at freescale.com>
> > ---
> 
> For what it is worth:
> I have tested this patch and it solves the problem with 3 UCCs
> as ethernet for me. This fixes a regression introduced after 2.6.20
> Please consider for 2.6.22
> Acked-by: Joakim Tjernlund <joakim.tjernlund at transmode.se> 

I noticed Paulus pull request to Linus and this patch wasn't
included. I really want to see it included.

 Jocke



More information about the Linuxppc-dev mailing list