Documentation/infiniband: update from locked to pinned_vm
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 7 Feb 2019 01:31:55 +0000 (17:31 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 7 Feb 2019 19:56:23 +0000 (12:56 -0700)
We are really talking about pinned_vm here.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Documentation/infiniband/user_verbs.txt

index df049b9f5b6ec8d909bf1b9589bb2d628b057650..47ebf2f80b2bd3089c15b30a6983356b939a2c86 100644 (file)
@@ -46,11 +46,11 @@ Memory pinning
   I/O targets be kept resident at the same physical address.  The
   ib_uverbs module manages pinning and unpinning memory regions via
   get_user_pages() and put_page() calls.  It also accounts for the
-  amount of memory pinned in the process's locked_vm, and checks that
+  amount of memory pinned in the process's pinned_vm, and checks that
   unprivileged processes do not exceed their RLIMIT_MEMLOCK limit.
 
   Pages that are pinned multiple times are counted each time they are
-  pinned, so the value of locked_vm may be an overestimate of the
+  pinned, so the value of pinned_vm may be an overestimate of the
   number of pages pinned by a process.
 
 /dev files