Index: linux-2.6.15-rc3-mm1/mm/vmscan.c =================================================================== --- linux-2.6.15-rc3-mm1.orig/mm/vmscan.c 2005-11-30 09:48:03.000000000 -0800 +++ linux-2.6.15-rc3-mm1/mm/vmscan.c 2005-11-30 09:50:57.000000000 -0800 @@ -742,7 +742,7 @@ int migrate_page_remove_references(struc &mapping->page_tree, page_index(page)); - if (!page->mapping || + if (!page_mapping(page) || page_count(page) != nr_refs || *radix_pointer != page) { write_unlock_irq(&mapping->tree_lock);