lkml.org 
[lkml]   [2010]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2010-10-21 16:59    [W:0.071 / U:1.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site