--- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22-rc4-mm2/mm/rmap.c =================================================================== --- linux-2.6.22-rc4-mm2.orig/mm/rmap.c 2007-06-21 21:47:00.000000000 -0700 +++ linux-2.6.22-rc4-mm2/mm/rmap.c 2007-06-21 21:48:28.000000000 -0700 @@ -990,7 +990,7 @@ int try_to_unmap(struct page *page, int { int ret; - BUG_ON(!PageLocked(page)); + BUG_ON(!PageLocked(page) || PageTail(page)); if (PageAnon(page)) ret = try_to_unmap_anon(page, migration);