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 | 5 ++--- linux/swap.h | 0 3 files changed, 2 insertions(+), 3 deletions(-) diff -puN Documentation/vm/page_migration~more-page-migration-use-migration-entries-for-file-pages-update-comments-5 Documentation/vm/page_migration diff -puN include/linux/swap.h~more-page-migration-use-migration-entries-for-file-pages-update-comments-5 include/linux/swap.h diff -puN mm/migrate.c~more-page-migration-use-migration-entries-for-file-pages-update-comments-5 mm/migrate.c --- devel/mm/migrate.c~more-page-migration-use-migration-entries-for-file-pages-update-comments-5 2006-05-10 23:57:33.000000000 -0700 +++ devel-akpm/mm/migrate.c 2006-05-10 23:57:33.000000000 -0700 @@ -180,9 +180,8 @@ out: } /* - * Note that remove_file_migration_ptes will only work on regular mappings - * specialized other mappings will simply be unmapped and do not use - * migration entries. + * Note that remove_file_migration_ptes will only work on regular mappings, + * Nonlinear mappings do not use migration entries. */ static void remove_file_migration_ptes(struct page *old, struct page *new) { _