[PATCH] powerpc/mm: add ZONE_NORMAL zone for 64 bit kernel

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jul 24 13:08:38 EST 2012


On Mon, 2012-07-23 at 18:36 -0500, Timur Tabi wrote:
> The DMA zone only kicks in if the DMA mask is set to a size smaller
> that
> available physical memory.  Sane HW should set the DMA mask to
> DMA_BIT_MASK(36).  And we have plenty of sane HW on our SOCs, but not
> every device is like that.
> 
> The whole point behind this patch is that some drivers are setting a
> DMA
> mask of 32, but still getting memory above 4GB.

Sure but I don't want to create the zones in the first place (and thus
introduce the added pressure on the memory management) on machines that
don't need it.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list