From: Christoph Lameter Edit comments to be nicer better and reflect the current state of page migration. Remove useless BUG_ON() in migrate_entry_wait() since migration_entry_to_page() already does a BUG_ON(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- vm/page_migration | 0 mm/migrate.c | 3 --- linux/swap.h | 0 3 files changed, 3 deletions(-) diff -puN Documentation/vm/page_migration~swapless-pm-add-r-w-migration-entries-update-comments-6 Documentation/vm/page_migration diff -puN include/linux/swap.h~swapless-pm-add-r-w-migration-entries-update-comments-6 include/linux/swap.h diff -puN mm/migrate.c~swapless-pm-add-r-w-migration-entries-update-comments-6 mm/migrate.c --- devel/mm/migrate.c~swapless-pm-add-r-w-migration-entries-update-comments-6 2006-05-10 23:58:19.000000000 -0700 +++ devel-akpm/mm/migrate.c 2006-05-10 23:58:19.000000000 -0700 @@ -236,9 +236,6 @@ void migration_entry_wait(struct mm_stru page = migration_entry_to_page(entry); - /* Pages with migration entries are always locked */ - BUG_ON(!PageLocked(page)); - get_page(page); pte_unmap_unlock(ptep, ptl); wait_on_page_locked(page); _