Skip to content

Commit

Permalink
mm/migrate.c: cleanup comment for migration_entry_wait()
Browse files Browse the repository at this point in the history
migration_entry_wait() can also be called from hugetlb_fault() now.
Remove the incorrect comment.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Wang Sheng-Hui authored and torvalds committed Jan 11, 2012
1 parent fcfb4dc commit 564c81d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 564c81d

Please sign in to comment.