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, 1 insertion(+), 2 deletions(-) diff -puN Documentation/vm/page_migration~swapless-pm-add-r-w-migration-entries-update-comments-4 Documentation/vm/page_migration diff -puN include/linux/swap.h~swapless-pm-add-r-w-migration-entries-update-comments-4 include/linux/swap.h diff -puN mm/migrate.c~swapless-pm-add-r-w-migration-entries-update-comments-4 mm/migrate.c --- devel/mm/migrate.c~swapless-pm-add-r-w-migration-entries-update-comments-4 2006-05-10 23:56:49.000000000 -0700 +++ devel-akpm/mm/migrate.c 2006-05-10 23:56:49.000000000 -0700 @@ -125,8 +125,7 @@ static inline int is_swap_pte(pte_t pte) } /* - * Restore a potential migration pte to a working pte entry for - * anonymous pages. + * Restore a potential migration pte to a working pte entry */ static void remove_migration_pte(struct vm_area_struct *vma, unsigned long addr, struct page *old, struct page *new) _