aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2012-01-10 18:08:22 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-10 19:30:45 -0500
commit564c81db19f3630f53a14bbceb7b85eb9660ded3 (patch)
treec8da7f1d2eed5999af067c714d65de7b90840f79 /mm
parentfcfb4dcc9698f932836aa63ba0d82e7dbd300fb3 (diff)
mm/migrate.c: cleanup comment for migration_entry_wait()
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>
Diffstat (limited to 'mm')
-rw-r--r--mm/migrate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 594dc375d0f9..670bb8911cd1 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -181,8 +181,6 @@ static void remove_migration_ptes(struct page *old, struct page *new)
181 * Something used the pte of a page under migration. We need to 181 * Something used the pte of a page under migration. We need to
182 * get to the page and wait until migration is finished. 182 * get to the page and wait until migration is finished.
183 * When we return from this function the fault will be retried. 183 * When we return from this function the fault will be retried.
184 *
185 * This function is called from do_swap_page().
186 */ 184 */
187void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, 185void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd,
188 unsigned long address) 186 unsigned long address)