Commit dd78553b authored by KOSAKI Motohiro's avatar KOSAKI Motohiro Committed by Linus Torvalds

pagewalk: fix code comment for THP

Commit bae9c19b ("thp: split_huge_page_mm/vma") changed locking behavior
of walk_page_range().  Thus this patch changes the comment too.
Signed-off-by: default avatarKOSAKI 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c27fe4c8
...@@ -176,7 +176,8 @@ static int walk_hugetlb_range(struct vm_area_struct *vma, ...@@ -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 * associated range, and a copy of the original mm_walk for access to
* the ->private or ->mm fields. * 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. * directories from highmem if necessary.
* *
* If any callback returns a non-zero value, the walk is aborted and * If any callback returns a non-zero value, the walk is aborted and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment