Re: [patch 6/6] slab: only define SLAB_CACHE_DMA forCONFIG_ZONE_DMA

From: Christoph Lameter
Date: Wed May 25 2011 - 11:02:52 EST


On Wed, 25 May 2011, Heiko Carstens wrote:

> Ok, now I see what you want. But please let's don't add an
> #ifdef CONFIG_ZONE_DMA
> to the dasd driver. Instead just re-add ZONE_DMA to 31-bit s390. Everything
> would be in ZONE_DMA again and ZONE_NORMAL would be empty. Doesn't matter
> if we have an additional zone, since 31-bit support isn't important anymore.

ZONE_NORMAL is normal memory. ZONE_DMA is a zone for memory restricted
to a certain range. If you remove a zone then it should be ZONE_DMA. The
core creates additional (and useless logic in you case) if you enable
ZONE_DMA.

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