mmap locking API: convert mmap_sem comments
[linux-block.git] / Documentation / admin-guide / mm / userfaultfd.rst
index 0bf49d7313ad8a6c3eed751dab224c301d7a3f7d..1dc2d5f823b4246feb5077ba332523a98f037567 100644 (file)
@@ -33,7 +33,7 @@ memory ranges) provides two primary functionalities:
 The real advantage of userfaults if compared to regular virtual memory
 management of mremap/mprotect is that the userfaults in all their
 operations never involve heavyweight structures like vmas (in fact the
-``userfaultfd`` runtime load never takes the mmap_sem for writing).
+``userfaultfd`` runtime load never takes the mmap_lock for writing).
 
 Vmas are not suitable for page- (or hugepage) granular fault tracking
 when dealing with virtual address spaces that could span