Re: [RFC 0/8] Reduce MAX_NR_ZONES and remove useless zones.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 3 Jul 2006, Christoph Hellwig wrote:

> On Mon, Jul 03, 2006 at 02:55:34PM -0700, Christoph Lameter wrote:
> > I keep seeing zones on various platforms that are never used and wonder
> > why we compile support for them into the kernel.
> > 
> > IA64 on SGI for example only uses ZONE_DMA other IA64 platforms can
> > also use ZONE_NORMAL.
> 
> Which btw is utterly wrong.  It should have a 4GB ZONE_DMA32 and everything
> else in ZONE_NORMAL.

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!).

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).

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux