Index: linux-2.6.15-rc3/mm/page_alloc.c =================================================================== --- linux-2.6.15-rc3.orig/mm/page_alloc.c 2005-11-30 23:34:31.000000000 -0800 +++ linux-2.6.15-rc3/mm/page_alloc.c 2005-11-30 23:46:19.000000000 -0800 @@ -1400,7 +1400,7 @@ void show_free_areas(void) ps.nr_unstable, nr_free_pages(), ps.nr_slab, - ps.nr_mapped, + global_stat[n_mapped], ps.nr_page_table_pages); for_each_zone(zone) { Index: linux-2.6.15-rc3/mm/rmap.c =================================================================== --- linux-2.6.15-rc3.orig/mm/rmap.c 2005-11-30 23:41:08.000000000 -0800 +++ linux-2.6.15-rc3/mm/rmap.c 2005-11-30 23:47:06.000000000 -0800 @@ -454,7 +454,7 @@ void page_add_anon_rmap(struct page *pag page->index = linear_page_index(vma, address); - inc_node_page_state(page_to_nid(page), nr_mapped); + inc_node_page_state(page_to_nid(page), n_mapped); } /* else checking page index and mapping is racy */ } @@ -471,7 +471,7 @@ void page_add_file_rmap(struct page *pag BUG_ON(!pfn_valid(page_to_pfn(page))); if (atomic_inc_and_test(&page->_mapcount)) - inc_node_page_state(page_to_nid(page), nr_mapped); + inc_node_page_state(page_to_nid(page), n_mapped); } /** @@ -495,7 +495,7 @@ void page_remove_rmap(struct page *page) */ if (page_test_and_clear_dirty(page)) set_page_dirty(page); - dec_node_page_state(page_to_nid(page), nr_mapped); + dec_node_page_state(page_to_nid(page), n_mapped); } }