Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932186AbVJRWhy (ORCPT ); Tue, 18 Oct 2005 18:37:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932188AbVJRWhy (ORCPT ); Tue, 18 Oct 2005 18:37:54 -0400 Received: from atlrel8.hp.com ([156.153.255.206]:57299 "EHLO atlrel8.hp.com") by vger.kernel.org with ESMTP id S932186AbVJRWhx (ORCPT ); Tue, 18 Oct 2005 18:37:53 -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: <1129673040.17545.32.camel@lts1.fc.hp.com> References: <200510171153.56063.ak@suse.de> <20051017153020.GB7652@localhost.localdomain> <200510171743.47926.ak@suse.de> <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> Content-Type: text/plain Organization: LOSL Date: Tue, 18 Oct 2005 16:37:03 -0600 Message-Id: <1129675023.17545.41.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: 1338 Lines: 34 On Tue, 2005-10-18 at 16:04 -0600, Alex Williamson wrote: > On Tue, 2005-10-18 at 14:53 -0700, Ravikiran G Thirumalai wrote: > > On Tue, Oct 18, 2005 at 03:28:27PM -0600, Alex Williamson wrote: > > > So, it looks like we're iterating over the nodes, but > > > alloc_bootmem_node() isn't even guaranteed to try to get memory from the > > > low memory on that node. > > > > Thanks Alex. 2.6.14-rc4-mm1 already has the > > guarantee-dma-area-for-alloc_bootmem_low.patch by Yasunori-san. So it is > > safer to confirm results on latest 2.6.14 stock. > > Ok. I'll need to build a stock tree then. > Nope, it breaks with a current git-2.6.14. Here's what my extra printk says: Node 0: 0xe000074104e67200 Node 1: 0xe000082080722000 Node 2: 0xe000000101532000 Placing software IO TLB between 0x74108e68000 - 0x7410ce68000 So same scenario as on -mm w/ the iterating across nodes, but now alloc_bootmem_low_pages() doesn't catch us in the end. This will fail in any case where MAX_DMA_ADDRESS is 4GB and every node has memory sufficient for the swiotlb size above 4GB. 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/