[PATCH] cleanup: mm/migrate.c: cleanup comment for function migration_entry_wait

From: Wang Sheng-Hui
Date: Wed Dec 21 2011 - 06:09:51 EST


migration_entry_wait can also be called from hugetlb_fault now.
Cleanup the comment.

Signed-off-by: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
---
mm/migrate.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/mm/migrate.c b/mm/migrate.c
index 177aca4..640002a 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -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)
--
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/