Index: linux-2.6.15-rc5-mm3/mm/vmscan.c =================================================================== --- linux-2.6.15-rc5-mm3.orig/mm/vmscan.c 2005-12-15 11:09:04.000000000 -0800 +++ linux-2.6.15-rc5-mm3/mm/vmscan.c 2005-12-15 11:09:08.000000000 -0800 @@ -740,11 +740,11 @@ int migrate_page_remove_references(struc */ get_page(newpage); newpage->index = page_index(page); + newpage->mapping = page->mapping; if (PageSwapCache(page)) { SetPageSwapCache(newpage); set_page_private(newpage, page_private(page)); - } else - newpage->mapping = page->mapping; + } *radix_pointer = newpage; __put_page(page);