On Mon, 20 Jun 2011, Andrew Morton wrote: > handle_mm_fault > ->handle_pte_fault > ->do_swap_page > ->migration_entry_wait > ->migration_entry_to_page > ->BUG_ON(!PageLocked(p)) > > How is this supposed to ever work? A page is always locked during migration. Thus a migration entry can only exist while a page is locked. The migration entries purpose is to hold off establishing new references to a page that is locked. See unmap_and_move(). Looks like some of the recent patches may cause an unlock the page without removal of the migration entry? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>