]> err.no Git - linux-2.6/commit
[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)
commit7c8545e98468c53809fc06788a3b9a34dff05240
tree11f7cff9f7f0f67b04db8234c41de5d6bc871b4c
parent7b7a57c77dccddd84b6aa02a38deee7ad97c977a
[POWERPC] rheap - eliminates internal fragments caused by alignment

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>
arch/powerpc/lib/rheap.c