diff mbox series

[7/6] Documentation/infiniband: update from locked to pinned_vm

Message ID 20190207013155.lq5diwqc2svyt3t3@linux-r8p5 (mailing list archive)
State Mainlined
Commit 1a7a05e88fa0e4e168f83585d1bb1937197a9745
Headers show
Series mm: make pinned_vm atomic and simplify users | expand

Commit Message

Davidlohr Bueso Feb. 7, 2019, 1:31 a.m. UTC
We are really talking about pinned_vm here.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
---
 Documentation/infiniband/user_verbs.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ira Weiny Feb. 12, 2019, 12:35 a.m. UTC | #1
> -----Original Message-----
> From: Davidlohr Bueso [mailto:dave@stgolabs.net]
> Sent: Wednesday, February 06, 2019 5:32 PM
> To: jgg@ziepe.ca; akpm@linux-foundation.org
> Cc: dledford@redhat.com; jgg@mellanox.com; jack@suse.cz;
> willy@infradead.org; Weiny, Ira <ira.weiny@intel.com>; linux-
> rdma@vger.kernel.org; linux-mm@kvack.org; linux-kernel@vger.kernel.org
> Subject: [PATCH 7/6] Documentation/infiniband: update from locked to
> pinned_vm
> 
> We are really talking about pinned_vm here.
> 
> Signed-off-by: Davidlohr Bueso <dbueso@suse.de>

Reviewed-by: Ira Weiny <ira.weiny@intel.com>

> ---
>  Documentation/infiniband/user_verbs.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/infiniband/user_verbs.txt
> b/Documentation/infiniband/user_verbs.txt
> index df049b9f5b6e..47ebf2f80b2b 100644
> --- a/Documentation/infiniband/user_verbs.txt
> +++ b/Documentation/infiniband/user_verbs.txt
> @@ -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
> --
> 2.16.4
diff mbox series

Patch

diff --git a/Documentation/infiniband/user_verbs.txt b/Documentation/infiniband/user_verbs.txt
index df049b9f5b6e..47ebf2f80b2b 100644
--- a/Documentation/infiniband/user_verbs.txt
+++ b/Documentation/infiniband/user_verbs.txt
@@ -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