mm/migrate.c: cleanup comment for migration_entry_wait()
authorWang Sheng-Hui <[email protected]>
Tue, 10 Jan 2012 23:08:22 +0000 (15:08 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Jan 2012 00:30:45 +0000 (16:30 -0800)
migration_entry_wait() can also be called from hugetlb_fault() now.
Remove the incorrect comment.

Signed-off-by: Wang Sheng-Hui <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/migrate.c

index 594dc375d0f96923ca9654dea0cd20bafb0f37f2..670bb8911cd1967f0b3bb1b043c700280c9b1b1e 100644 (file)
@@ -181,8 +181,6 @@ static void remove_migration_ptes(struct page *old, struct page *new)
  * Something used the pte of a page under migration. We need to
  * get to the page and wait until migration is finished.
  * When we return from this function the fault will be retried.
- *
- * This function is called from do_swap_page().
  */
 void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd,
                                unsigned long address)