Re: [patch] x86: allow ZONE_DMA to be configurable
From: Christoph Lameter
Date: Thu Oct 21 2010 - 10:56:38 EST
On Fri, 15 Oct 2010, David Rientjes wrote:
> > hm. It'd be better to make all the drivers depend on ZONE_DMA. Good
> > luck with that :)
> >
>
> If they all truly depended on it then we'd never have been able to disable
> it. I think breaking the build when you have CONFIG_ZONE_DMA=n and
> something is passing GFP_DMA would be the best alternative.
Yes I also think that is best. Forces the issues to be finally addressed.
Building without CONFIG_ZONE_DMA will remove the need to keep dma kmalloc
caches around and avoid checking for __GFP_DMA in the hotpaths of the slab
allocators.
--
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/