Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151AbVJSCCh (ORCPT ); Tue, 18 Oct 2005 22:02:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932154AbVJSCCh (ORCPT ); Tue, 18 Oct 2005 22:02:37 -0400 Received: from atlrel6.hp.com ([156.153.255.205]:16568 "EHLO atlrel6.hp.com") by vger.kernel.org with ESMTP id S932151AbVJSCCg (ORCPT ); Tue, 18 Oct 2005 22:02:36 -0400 Subject: Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken From: Alex Williamson To: Ravikiran G Thirumalai Cc: Linus Torvalds , Andrew Morton , Andi Kleen , linux-kernel@vger.kernel.org, discuss@x86-64.org, tglx@linutronix.de, shai@scalex86.org, y-goto@jp.fujitsu.com In-Reply-To: <1129684966.17545.50.camel@lts1.fc.hp.com> References: <20051017134401.3b0d861d.akpm@osdl.org> <20051018001620.GD8932@localhost.localdomain> <20051018195423.GA6351@localhost.localdomain> <1129670907.17545.20.camel@lts1.fc.hp.com> <20051018215351.GA3982@localhost.localdomain> <1129673040.17545.32.camel@lts1.fc.hp.com> <1129675023.17545.41.camel@lts1.fc.hp.com> <20051018232203.GB4535@localhost.localdomain> <1129684966.17545.50.camel@lts1.fc.hp.com> Content-Type: text/plain Organization: LOSL Date: Tue, 18 Oct 2005 20:02:22 -0600 Message-Id: <1129687342.17545.57.camel@lts1.fc.hp.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 30 On Tue, 2005-10-18 at 19:22 -0600, Alex Williamson wrote: > On Tue, 2005-10-18 at 16:22 -0700, Ravikiran G Thirumalai wrote: > > > Hope the following works. Using __alloc_bootmem_node now with a hard coded > > goal to avoid 16MB DMA zone. It is ugly :( and hope it works this time > > . > > Nope, it still gives me memory above 4GB. If I change goal to 0x0 it > works. BTW, the reason 16MB fails is this test in __alloc_bootmem_core(): if (bdata->last_success >= preferred) preferred = bdata->last_success; That pretty much negates most of usefulness of passing in a goal other than 0 or !0. If I comment out this test, the 16MB goal works as expected, but I get an uninitialized timer in the sym53c8xx driver. Not sure what's happening there, but apparently the test has some purpose other than optimization. Thanks, Alex - 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/