Messages in this thread | | | Date | Thu, 21 Oct 2010 09:56:29 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [patch] x86: allow ZONE_DMA to be configurable |
| |
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.
| |