2007-06-20 03:56:15

by Kumar Gala

[permalink] [raw]
Subject: Please pull from 'for_linus' branch

Linus,

Please pull from 'for_linus' branch at

master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for_linus

To get a fix for 2.6.22 to the rheap allocator that was causing multiple
instances of the UCC ethernet driver to fail because it was running out of
memory due to wasting space for aligned requests.

Thanks,
Kumar.

arch/powerpc/lib/rheap.c | 48 ++++++++++++++++++++++++++++-------------------
1 file changed, 29 insertions(+), 19 deletions(-)

commit 7c8545e98468c53809fc06788a3b9a34dff05240
Author: Li Yang <[email protected]>
Date: Mon Jun 18 19:29:21 2007 +0800

[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 <[email protected]>
Acked-by: Joakim Tjernlund <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>