diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-07-16 16:03:59 +0800 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-29 18:07:14 -0700 |
commit | 0f0b6931ff0d8de344392f5d470f88af64130709 (patch) | |
tree | 63a184ab76f6e2e03aa8e7cbc8869a0573ee7b56 /mm/memory.c | |
parent | b717d6b93b54ec2a2a7d3bb7268d3ff847cc54c5 (diff) | |
download | linux-0f0b6931ff0d8de344392f5d470f88af64130709.tar.gz linux-0f0b6931ff0d8de344392f5d470f88af64130709.tar.bz2 linux-0f0b6931ff0d8de344392f5d470f88af64130709.zip |
mm: remove obsolete comment in do_fault_around()
Since commit 7267ec008b5c ("mm: postpone page table allocation until we
have page to map"), do_fault_around is not called with page table lock
held. Cleanup the corresponding comments.
Link: https://lkml.kernel.org/r/20220716080359.38791-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/memory.c b/mm/memory.c index 7cd0d4c086db..8c193b3a32aa 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -4439,10 +4439,6 @@ late_initcall(fault_around_debugfs); * It uses vm_ops->map_pages() to map the pages, which skips the page if it's * not ready to be mapped: not up-to-date, locked, etc. * - * This function is called with the page table lock taken. In the split ptlock - * case the page table lock only protects only those entries which belong to - * the page table corresponding to the fault address. - * * This function doesn't cross the VMA boundaries, in order to call map_pages() * only once. * |