[POWERPC] rheap - eliminates internal fragments caused by alignment
authorLi Yang <leoli@freescale.com>
Mon, 18 Jun 2007 11:29:21 +0000 (19:29 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 20 Jun 2007 03:35:53 +0000 (22:35 -0500)
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@freescale.com>
Acked-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found