[PATCH] rheap: eliminates internal fragments caused by alignment

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Jun 18 21:48:24 EST 2007


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> 



More information about the Linuxppc-dev mailing list