Re: [RFC 0/8] Reduce MAX_NR_ZONES and remove useless zones.

From: Christoph Hellwig
Date: Tue Jul 04 2006 - 08:02:55 EST


On Tue, Jul 04, 2006 at 01:47:10AM +0200, Andi Kleen wrote:
> It's really architecture dependent. The portable interfaces are
> dma_alloc_* and suitable device masks and the architecture should sort
> out then what zone to use.

Well, there's some cases where you don't want coherent mappings but
rather alloc_page + dma_map_*. And having a ZONE_DMA32 that is valid
on all architectures is very valueable for that.

I remember James promised a kmalloc_mask a last Kernel Summit that would
many things easier, but even than having predictable memory zone layouts
overy different architectures is a win.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/