Skip to content

Commit 2ebe822

Browse files
Fengguang Wutorvalds
authored andcommitted
mm/gup.c: fix __get_user_pages_fast() comment
mmu_gather_tlb() no longer exists. Replace with mmu_table_batch(). Link: http://lkml.kernel.org/r/20180928053441.rpzwafzlsnp74mkl@wfg-t540p.sh.intel.com Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Kosina <trivial@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f2c57d9 commit 2ebe822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/gup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,8 +1817,8 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write,
18171817
* interrupts disabled by get_futex_key.
18181818
*
18191819
* With interrupts disabled, we block page table pages from being
1820-
* freed from under us. See mmu_gather_tlb in asm-generic/tlb.h
1821-
* for more details.
1820+
* freed from under us. See struct mmu_table_batch comments in
1821+
* include/asm-generic/tlb.h for more details.
18221822
*
18231823
* We do not adopt an rcu_read_lock(.) here as we also want to
18241824
* block IPIs that come from THPs splitting.

0 commit comments

Comments
 (0)