Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752722Ab0DMKQn (ORCPT ); Tue, 13 Apr 2010 06:16:43 -0400 Received: from gate.crashing.org ([63.228.1.57]:36022 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520Ab0DMKQl (ORCPT ); Tue, 13 Apr 2010 06:16:41 -0400 Subject: Re: [PATCH 07/39] lmb: Add lmb_find_area() From: Benjamin Herrenschmidt To: "H. Peter Anvin" Cc: Yinghai , Ingo Molnar , Thomas Gleixner , Andrew Morton , David Miller , Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org In-Reply-To: <4BC4053D.2050805@zytor.com> References: <1270793048-23796-1-git-send-email-yinghai@kernel.org> <1270793048-23796-8-git-send-email-yinghai@kernel.org> <1271131543.13059.53.camel@pasglop> <4BC3F317.7030702@oracle.com> <1271135239.13059.69.camel@pasglop> <4BC40074.6030604@oracle.com> <4BC4053D.2050805@zytor.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 13 Apr 2010 20:15:09 +1000 Message-ID: <1271153709.13059.101.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 24 On Mon, 2010-04-12 at 22:46 -0700, H. Peter Anvin wrote: > On 04/12/2010 10:26 PM, Yinghai wrote: > > > > current generic lmb_find_area() is allocating from high to low. > > x86 32bit seems have problem with that. > > Presumably because it fills up ZONE_DMA. I'm working on some LMB cleanups now, among others trying to take into account what I think are Yinghai requirements. Give me a few days. For the specific problem above, my idea is to have the low level alloc function be able to take both low and high limits, so that x86 can figure out what's best for a given allocation. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/