Re: Zone's in Linux



On Aug 21, 12:39 pm, deepak <deepakpj...@xxxxxxxxx> wrote:
Hi,

I read a document where main memory in Linux will be logically divided
into zones
called as NORMAL, DMA, HIGH memory zones.

Why in linux we are dividing memory into zones?

ZONE_DMA places in first 16MB of memory because some devices need
exactly that addresses for mapping.
x86 can't directly map pages with address over 1GB, so we need
ZONE_HIGHMEM for indirect mapping.

.



Relevant Pages

  • Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
    ... If your and other kernel developer's kernel ... Ingo Molnar says that zones work for him. ... and memory associated with still others. ... allocating and freeing large or small blocks of memory or it could be ...
    (Linux-Kernel)
  • Re: Blocking undesirable domains using BIND
    ... So hosts seemed easier, but apparently Bind never looks at hosts. ... server is now consuming 208 MB of ram. ... to the exact same thing it seems to be needlessly wasting memory. ... My experience, albeit with a smaller number of zones, is a bit different. ...
    (freebsd-questions)
  • Re: Blocking undesirable domains using BIND
    ... server is now consuming 208 MB of ram. ... to the exact same thing it seems to be needlessly wasting memory. ... My experience, albeit with a smaller number of zones, is a bit different. ... zone file 244B in size on disk: ...
    (freebsd-questions)
  • Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
    ... > I am not enough of a kernel level person or sysadmin to know for certain, ... And when you don't use it, we'd be able to use those zones for at least ... Now, for many loads, that's fine. ... are often a big part of the memory use. ...
    (Linux-Kernel)
  • Re: [PATCH 0/5] make slab gfp fair
    ... The purpose of the cpuset is to limit memory for an application. ... There are 4 zones DMA DMA32 NORMAL and HIGHMEM and we have ... ZONE_NORMAL allocation you have 3 to pick from. ...
    (Linux-Kernel)