From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.ocgnet.org ([64.20.243.3]:13206 "EHLO smtp.ocgnet.org") by vger.kernel.org with ESMTP id S1751944AbWIRWp6 (ORCPT ); Mon, 18 Sep 2006 18:45:58 -0400 Date: Tue, 19 Sep 2006 07:45:48 +0900 From: Paul Mundt Subject: Re: [PATCH 2/6] Introduce CONFIG_ZONE_DMA Message-ID: <20060918224548.GA6284@localhost.usen.ad.jp> References: <20060918183614.19679.50359.sendpatchset@schroedinger.engr.sgi.com> <20060918183655.19679.51633.sendpatchset@schroedinger.engr.sgi.com> <20060911222729.4849.69497.sendpatchset@schroedinger.engr.sgi.com> <20060911222739.4849.79915.sendpatchset@schroedinger.engr.sgi.com> <20060918135559.GB15096@infradead.org> <20060918152243.GA4320@localhost.na.rta> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060918183655.19679.51633.sendpatchset@schroedinger.engr.sgi.com> Sender: linux-arch-owner@vger.kernel.org To: Christoph Lameter Cc: Christoph Hellwig , linux-mm@kvack.org, Nick Piggin , linux-ia64@vger.kernel.org, Marcelo Tosatti , Arjan van de Ven , Martin Bligh , KAMEZAWA Hiroyuki , Andi Kleen , linux-arch@vger.kernel.org, James Bottomley , Russell King List-ID: On Mon, Sep 18, 2006 at 10:33:00AM -0700, Christoph Lameter wrote: > sh64 has the same strange code as parisc: > > config GENERIC_ISA_DMA > bool > > You do not have ISA_DMA so I should drop these lines? > It doesn't really matter, this notation basically keeps it disabled anyways (you'll note the absence of it from the defconfigs). On Mon, Sep 18, 2006 at 11:36:55AM -0700, Christoph Lameter wrote: > Index: linux-2.6.18-rc6-mm2/arch/sh/mm/init.c > =================================================================== > --- linux-2.6.18-rc6-mm2.orig/arch/sh/mm/init.c 2006-09-18 12:54:04.733274009 -0500 > +++ linux-2.6.18-rc6-mm2/arch/sh/mm/init.c 2006-09-18 12:58:58.563038661 -0500 > @@ -156,7 +156,6 @@ void __init paging_init(void) > * Setup some defaults for the zone sizes.. these should be safe > * regardless of distcontiguous memory or MMU settings. > */ > - zones_size[ZONE_DMA] = 0 >> PAGE_SHIFT; > zones_size[ZONE_NORMAL] = __MEMORY_SIZE >> PAGE_SHIFT; > #ifdef CONFIG_HIGHMEM > zones_size[ZONE_HIGHMEM] = 0 >> PAGE_SHIFT; You've missed the other ZONE_DMA references, if you scroll a bit further down that's where we fill in ZONE_DMA, this is simply the default zone layout that we rely on for nommu. sh64 part looks fine.