unsigned long present = pgdat->node_present_pages; 
unsigned long present; unsigned long flags; 
void show_mem(void){	int i, total_reserved = 0;	int total_shared = 0, total_cached = 0;	unsigned long total_present = 0;	pg_data_t *pgdat;	printk("Mem-info:\n");	show_free_areas();	printk("Free swap:       %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));	for_each_pgdat(pgdat) {		unsigned long present = pgdat->node_present_pages;		int shared = 0, cached = 0, reserved = 0;		printk("Node ID: %d\n", pgdat->node_id);		for(i = 0; i < pgdat->node_spanned_pages; i++) {			struct page *page;			if (pfn_valid(pgdat->node_start_pfn + i))				page = pfn_to_page(pgdat->node_start_pfn + i);			else				continue;			if (PageReserved(page))				reserved++;			else if (PageSwapCache(page))				cached++;			else if (page_count(page))				shared += page_count(page)-1;		}		total_present += present;		total_reserved += reserved;		total_cached += cached;		total_shared += shared;		printk("\t%ld pages of RAM\n", present);		printk("\t%d reserved pages\n", reserved);		printk("\t%d pages shared\n", shared);		printk("\t%d pages swap cached\n", cached);	}	printk("%ld pages of RAM\n", total_present);	printk("%d reserved pages\n", total_reserved);	printk("%d pages shared\n", total_shared);	printk("%d pages swap cached\n", total_cached);	printk("Total of %ld pages in page table cache\n",		pgtable_quicklist_total_size());	printk("%d free buffer pages\n", nr_free_buffer_pages());}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/208d54e5513c0c02d85af0990901354c74364d5c/discontig.c/buggy/arch/ia64/mm/discontig.c