Re: [PATCH 3/4] Embed zone_id information within the zonelist->zonespointer

From: Christoph Lameter
Date: Tue Aug 14 2007 - 15:56:36 EST


On Tue, 14 Aug 2007, Andi Kleen wrote:

> > pci_set_consistent_dma_mask
> >
> > has that.
>
> While on x86 it is roughly identical (although the low level
> allocator is currently not very reliable) it makes a significant
> difference on some platforms. e.g. I was told on PA-RISC
> consistent memory is much more costly than non consistent ones.
> That's probably true on anything that's not full IO cache
> consistent.
>
> So while it would be reasonable semantics for x86 and IA64
> it's not for everybody else.

Right. That is the point of the function. It isolates these strange
platform dependencies. That is why there is no need for ZONE_DMA32 on any
other platform.

-
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/