Commit 1a7a05e8 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Jason Gunthorpe

Documentation/infiniband: update from locked to pinned_vm

We are really talking about pinned_vm here.
Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent b95df5e3
...@@ -46,11 +46,11 @@ Memory pinning ...@@ -46,11 +46,11 @@ Memory pinning
I/O targets be kept resident at the same physical address. The I/O targets be kept resident at the same physical address. The
ib_uverbs module manages pinning and unpinning memory regions via ib_uverbs module manages pinning and unpinning memory regions via
get_user_pages() and put_page() calls. It also accounts for the 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. unprivileged processes do not exceed their RLIMIT_MEMLOCK limit.
Pages that are pinned multiple times are counted each time they are 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. number of pages pinned by a process.
/dev files /dev files
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment