[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2807E5FD2F6FDA4886F6618EAC48510E79BCF60F@CRSMSX101.amr.corp.intel.com>
Date: Tue, 12 Feb 2019 00:35:08 +0000
From: "Weiny, Ira" <ira.weiny@...el.com>
To: Davidlohr Bueso <dave@...olabs.net>, "jgg@...pe.ca" <jgg@...pe.ca>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
CC: "dledford@...hat.com" <dledford@...hat.com>,
"jgg@...lanox.com" <jgg@...lanox.com>,
"jack@...e.cz" <jack@...e.cz>,
"willy@...radead.org" <willy@...radead.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 7/6] Documentation/infiniband: update from locked to
pinned_vm
> -----Original Message-----
> From: Davidlohr Bueso [mailto:dave@...olabs.net]
> Sent: Wednesday, February 06, 2019 5:32 PM
> To: jgg@...pe.ca; akpm@...ux-foundation.org
> Cc: dledford@...hat.com; jgg@...lanox.com; jack@...e.cz;
> willy@...radead.org; Weiny, Ira <ira.weiny@...el.com>; linux-
> rdma@...r.kernel.org; linux-mm@...ck.org; linux-kernel@...r.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@...e.de>
Reviewed-by: Ira Weiny <ira.weiny@...el.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
Powered by blists - more mailing lists