From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id E156FDDEA3 for ; Wed, 20 Jun 2007 13:55:54 +1000 (EST) Date: Tue, 19 Jun 2007 22:55:47 -0500 (CDT) From: Kumar Gala To: Linus Torvalds Subject: Please pull from 'for_linus' branch Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, Paul Mackerras , linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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 Acked-by: Joakim Tjernlund Signed-off-by: Kumar Gala