Global mem_map in Nodes and zones



Both a node and a zone have a structure defined which contains a
pointer to a global memory map to all pages in the node or zone.

struct page *zone_mem_map; in 'struct zone_struct'


and


struct page *node_mem_map; in 'struct pglist_data' (pglist_data is
the
structure name for a node, strange name!)


Are these two mem_map variables actually used to traverse the entire
list of pages in a node (which is usually all of main memory) or a
zone. How else would these two variables be used?


Also, in 'struct zone_struct', why is there a pointer to the parent
node, how is this used? This is 'struct pglist_data *zone_pgdat'.


Hope people have some good knowledge of the actual kernel code in
this
group.


Tilak

.



Relevant Pages

  • Re: Wimp AutoScroll
    ... R1 Pointer to block: ... Window handle of window to scroll ... Bottom pause zone height, ...
    (comp.sys.acorn.programmer)
  • RE: Multiple pointer entry`s for pc`s
    ... Pointer (PTR) RRs are used to support the reverse ... resolve this information to the DNS domain name for that computer. ... PTR RRs can be added to a zone in several ways: ...
    (microsoft.public.win2000.dns)
  • Re: 2.6.13-rc6 Oops with Software RAID, LVM, JFS, NFS
    ... You don't seem to give details on how lvm is used to combine the md ... So it seems that this page is in zone 3. ... bad page pointer passed down from jfs or nfsd, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: m_tag, malloc vs uma
    ... malloc will end up using a fixed 32bytes zone and I shouldn't expect much speed gain from using something like: ... I'm thinking of basically replacing the m_tag_free pointer with a pointer to a small vector of operations, ... I'm not sure if there are any other function pointers we'd need at this point? ...
    (freebsd-net)
  • Re: Windows 98SE security update 891711
    ... It appeared to load everything until it got to Zone ... > Alarm. ... It then hung up with the pointer and the hourglass. ...
    (microsoft.public.security)