Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761879AbZCPThz (ORCPT ); Mon, 16 Mar 2009 15:37:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761439AbZCPThK (ORCPT ); Mon, 16 Mar 2009 15:37:10 -0400 Received: from gw.goop.org ([64.81.55.164]:51763 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761798AbZCPThJ (ORCPT ); Mon, 16 Mar 2009 15:37:09 -0400 Message-ID: <49BEAA61.4020208@goop.org> Date: Mon, 16 Mar 2009 12:37:05 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Jan Beulich CC: "H. Peter Anvin" , Jeremy Fitzhardinge , the arch/x86 maintainers , David Airlie , Xen-devel , Linux Kernel Mailing List Subject: Re: [Xen-devel] [PATCH 10/27] xen: make sure swiotlb allocation isphysically contigious References: <1236963612-14287-1-git-send-email-jeremy@goop.org> <1236963612-14287-11-git-send-email-jeremy@goop.org> <49BE627E.76E4.0078.0@novell.com> In-Reply-To: <49BE627E.76E4.0078.0@novell.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 25 Jan Beulich wrote: > > While on native using alloc_bootmem_low_pages() is a requirement here, > on Xen this should explicitly not be used, as we realized just a couple of > days ago: Which conversation was this? > The way the bootmem allocator works, running out of space > below 4Gb is pretty easy on machines with lots of memory, and since the > swiotlb is a requirement for Dom0, the risk of allocation failures must be > kept as low as possible. > Are we talking about a 32 or 64 bit dom0 here? If its 32-bit, then yes, low memory is a precious resource, but I don't see why that depends on the total amount of memory. And if its 64-bit, why is below-4G particularly constrained? That would only matter for 32-bit devices? J -- 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/