lkml.org 
[lkml]   [2006]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC 0/8] Reduce MAX_NR_ZONES and remove useless zones.
Date

> So we want to change the definition of ZONE_DMA to refer to the first 16MB
> only? ZONE_DMA32 is always a 4GB border? (Andy disagrees about DMA32 see
> his message!).

Hmm? I didn't write anything about DMA32. Just noted a minor comment thinko about
highmem.

> It seems to me that DMA can be run on ZONE_NORMAL. ZONE_DMAxx is used for
> situations in which DMA cannot be done to all of memory. ZONE_DMA allows
> an architecture to define a single exception zone that ends at
> MAX_DMA_ADDRESS (which is arch specific).

It's really architecture dependent. The portable interfaces are
dma_alloc_* and suitable device masks and the architecture should sort
out then what zone to use.

I would say nearly everybody who uses GFP_DMA directly outside
{arch,asm}/* is wrong.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-04 01:51    [W:0.095 / U:4.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site