From: "Weiny, Ira" <ira.weiny@intel.com>
To: Davidlohr Bueso <dave@stgolabs.net>,
"jgg@ziepe.ca" <jgg@ziepe.ca>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Cc: "dledford@redhat.com" <dledford@redhat.com>,
"jgg@mellanox.com" <jgg@mellanox.com>,
"jack@suse.cz" <jack@suse.cz>,
"willy@infradead.org" <willy@infradead.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 7/6] Documentation/infiniband: update from locked to pinned_vm
Date: Tue, 12 Feb 2019 00:35:08 +0000 [thread overview]
Message-ID: <2807E5FD2F6FDA4886F6618EAC48510E79BCF60F@CRSMSX101.amr.corp.intel.com> (raw)
In-Reply-To: <20190207013155.lq5diwqc2svyt3t3@linux-r8p5>
> -----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
next prev parent reply other threads:[~2019-02-12 0:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 17:59 [PATCH v3 0/6] mm: make pinned_vm atomic and simplify users Davidlohr Bueso
2019-02-06 17:59 ` [PATCH 1/6] mm: make mm->pinned_vm an atomic64 counter Davidlohr Bueso
2019-02-06 17:59 ` [PATCH 2/6] drivers/mic/scif: do not use mmap_sem Davidlohr Bueso
2019-02-06 17:59 ` [PATCH 3/6] drivers/IB,qib: optimize mmap_sem usage Davidlohr Bueso
2019-02-06 17:59 ` [PATCH 4/6] drivers/IB,hfi1: do not se mmap_sem Davidlohr Bueso
2019-02-06 17:59 ` [PATCH 5/6] drivers/IB,usnic: reduce scope of mmap_sem Davidlohr Bueso
2019-02-06 17:59 ` [PATCH 6/6] drivers/IB,core: " Davidlohr Bueso
2019-02-07 1:31 ` [PATCH 7/6] Documentation/infiniband: update from locked to pinned_vm Davidlohr Bueso
2019-02-12 0:35 ` Weiny, Ira [this message]
2019-02-07 20:12 ` [PATCH v3 0/6] mm: make pinned_vm atomic and simplify users Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2807E5FD2F6FDA4886F6618EAC48510E79BCF60F@CRSMSX101.amr.corp.intel.com \
--to=ira.weiny@intel.com \
--cc=akpm@linux-foundation.org \
--cc=dave@stgolabs.net \
--cc=dledford@redhat.com \
--cc=jack@suse.cz \
--cc=jgg@mellanox.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-rdma@vger.kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox