Re: [PATCH 2/6] Introduce CONFIG_ZONE_DMA
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Christoph Lameter <clameter@xxxxxxx>
- Subject: Re: [PATCH 2/6] Introduce CONFIG_ZONE_DMA
- From: Paul Mundt <lethal@xxxxxxxxxxxx>
- Date: Tue, 19 Sep 2006 07:45:48 +0900
- Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-mm@xxxxxxxxx, Nick Piggin <nickpiggin@xxxxxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, Marcelo Tosatti <marcelo@xxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxx>, Martin Bligh <mbligh@xxxxxxxxxx>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, linux-arch@xxxxxxxxxxxxxxx, James Bottomley <James.Bottomley@xxxxxxxxxxxx>, Russell King <rmk@xxxxxxxxxxxxxxxx>
- In-reply-to: <20060918183655.19679.51633.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.64.0609181031420.19312@xxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <20060918183614.19679.50359.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxx> <20060918183655.19679.51633.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxx> <20060911222729.4849.69497.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxx> <20060911222739.4849.79915.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxx> <20060918135559.GB15096@xxxxxxxxxxxxx> <20060918152243.GA4320@xxxxxxxxxxxxxxxx> <Pine.LNX.4.64.0609181031420.19312@xxxxxxxxxxxxxxxxxxxxxxxxx>
- User-agent: Mutt/1.5.13 (2006-08-11)
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]