linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Questions on pg_data_t structure
@ 2000-06-21 22:49 Timur Tabi
  2000-06-21 23:03 ` Kanoj Sarcar
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2000-06-21 22:49 UTC (permalink / raw)
  To: Linux MM mailing list

Ok, I've been trying to figure this stuff out over the past two weeks, and I
need help.

Here's what I think I know so far:

In a non-NUMA system, there is a single master pg_data_t structure called
contig_page_data.

contig_page_data contains two arrays, node_zonelists and node_zones.  There are
MAX_NR_ZONES (3) elements in node_zones, and there are 256 elements (of which
only the first 16 in non-CONFIG_HIGHMEM kernels are supposed to be used.)

Here's where I get confused:

node_zones is an array of zone_t structures.  node_zonelists is an array of
zonelist_t structures.  The zonelist_t structure also contains an array of
zone_t structures.  

My question is: what is the difference between the zone_t's in node_zones and
the zone_t's in each node_zonelists element?



--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-21 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-21 22:49 Questions on pg_data_t structure Timur Tabi
2000-06-21 23:03 ` Kanoj Sarcar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox