diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2011-07-25 17:12:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 20:57:09 -0700 |
commit | dd78553b5e7a0b34c0b60478d04ee16d8d8f4fa7 (patch) | |
tree | 18bdb94761365c248392d29004f68d9181955ead /mm | |
parent | c27fe4c8942d3ca715986f79cc26f44608d7d9fb (diff) | |
download | linux-exynos-dd78553b5e7a0b34c0b60478d04ee16d8d8f4fa7.tar.gz linux-exynos-dd78553b5e7a0b34c0b60478d04ee16d8d8f4fa7.tar.bz2 linux-exynos-dd78553b5e7a0b34c0b60478d04ee16d8d8f4fa7.zip |
pagewalk: fix code comment for THP
Commit bae9c19bf1 ("thp: split_huge_page_mm/vma") changed locking behavior
of walk_page_range(). Thus this patch changes the comment too.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Hiroyuki Kamezawa <kamezawa.hiroyuki@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Matt Mackall <mpm@selenic.com>
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/pagewalk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/pagewalk.c b/mm/pagewalk.c index f7929406e776..2f5cf10ff660 100644 --- a/mm/pagewalk.c +++ b/mm/pagewalk.c @@ -176,7 +176,8 @@ static int walk_hugetlb_range(struct vm_area_struct *vma, * associated range, and a copy of the original mm_walk for access to * the ->private or ->mm fields. * - * No locks are taken, but the bottom level iterator will map PTE + * Usually no locks are taken, but splitting transparent huge page may + * take page table lock. And the bottom level iterator will map PTE * directories from highmem if necessary. * * If any callback returns a non-zero value, the walk is aborted and |