From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932184AbWGDPLM (ORCPT ); Tue, 4 Jul 2006 11:11:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932209AbWGDPLM (ORCPT ); Tue, 4 Jul 2006 11:11:12 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:44516 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S932184AbWGDPLL (ORCPT ); Tue, 4 Jul 2006 11:11:11 -0400 Date: Tue, 4 Jul 2006 08:10:54 -0700 (PDT) From: Christoph Lameter To: Christoph Hellwig cc: linux-kernel@vger.kernel.org, akpm@osdl.org, Hugh Dickins , Con Kolivas , Marcelo Tosatti , Nick Piggin , Andi Kleen Subject: Re: [RFC 0/8] Reduce MAX_NR_ZONES and remove useless zones. In-Reply-To: <20060704120242.GA3386@infradead.org> Message-ID: References: <20060703215534.7566.8168.sendpatchset@schroedinger.engr.sgi.com> <20060703221712.GB14273@infradead.org> <20060704120242.GA3386@infradead.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Jul 2006, Christoph Hellwig wrote: > On Mon, Jul 03, 2006 at 04:26:57PM -0700, Christoph Lameter wrote: > > > Which btw is utterly wrong. It should have a 4GB ZONE_DMA32 and everything > > > else in ZONE_NORMAL. > > > > So we want to change the definition of ZONE_DMA to refer to the first 16MB > > only? ZONE_DMA32 is always a 4GB border? > > The definition of ZONE_DMA32 is to be te 32bit border. I think we should > implement it wherever possible but at least on all architectures that > maybe have non-iommu implementations. ZONE_DMA should be an arch-specific > low memory zone. I guess then we should drop ZONE_DMA (its a misnoner anyways since it seems to indicate that DMA is only possible in this zone). Instead use ZONE_ISA_DMA -> ISA DMA Area (16 MB boundary) ZONE_32BIT_DMA -> 32bit DMA area (well 900 MB on x86_64 but somewhere in that area) only used for 64 bit platforms with 32 bit devices. Some arches seem to make ZONE_DMA their default zone instead of ZONE_NORMAL if DMA is possible to all of memory. I think in that case we should have no ZONE_DMA at all.