mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
mm: fix outdated incorrect code comments for handle_mm_fault()
[akpm@linux-foundation.org: s/mmap_Lock/mmap_lock/, per Liam] Link: https://lkml.kernel.org/r/20241213031820.778342-1-alexjlzheng@tencent.com Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com> Cc: "Liam R. Howlett" <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
ccd582059a
commit
8e6173ccf7
|
|
@ -6140,7 +6140,8 @@ static vm_fault_t sanitize_fault_flags(struct vm_area_struct *vma,
|
|||
}
|
||||
|
||||
/*
|
||||
* By the time we get here, we already hold the mm semaphore
|
||||
* By the time we get here, we already hold either the VMA lock or the
|
||||
* mmap_lock (FAULT_FLAG_VMA_LOCK tells you which).
|
||||
*
|
||||
* The mmap_lock may have been released depending on flags and our
|
||||
* return value. See filemap_fault() and __folio_lock_or_retry().
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user