Re: Questions about page table implementation
- From: "Bin Chen" <binary.chen@xxxxxxxxx>
- Date: 31 Mar 2007 00:39:22 -0700
On Mar 31, 1:02 am, "Tilak" <megk...@xxxxxxxxx> wrote:
In 'struct pglist_data', there is a member called node_size - which IIt should be the size of the node, the sum of all the zones of this
have seen in the Mel Gorman book described as "size of this zone".
Does the variable refer to the size of the node or the size of a
particular zone?
node, it is initialized in mm/page_alloc.c:
totalpages = 0;
for (i = 0; i < MAX_NR_ZONES; i++) {
unsigned long size = zones_size[i];
totalpages += size;
}
[...]
pgdat->node_size = totalpages;
.
- References:
- Questions about page table implementation
- From: Tilak
- Questions about page table implementation
- Prev by Date: Re: Questions about page table implementation
- Next by Date: Re: Kernel backtrace possiblities
- Previous by thread: Questions about page table implementation
- Next by thread: Global mem_map in Nodes and zones
- Index(es):
Relevant Pages
|