Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp77477ima; Wed, 6 Feb 2019 17:32:52 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia8mgrLqRubqby/VXgd3/Dj6NtpC9EBBK0+8kurQNLtUD3oW3ZMW1XzmgwMM7mxsGcAuMrJ X-Received: by 2002:a17:902:241:: with SMTP id 59mr13663297plc.72.1549503172208; Wed, 06 Feb 2019 17:32:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549503172; cv=none; d=google.com; s=arc-20160816; b=oCsiKpz7+O8vO50UcEypgFf0ADvpz9D2pYr2DFR/mA6mSmaFyordSwAMW7kERYaJLx 0/JZt1TcxY6WEBy6i2XlUPJMU+3vHK7pn2uoKp6lyNabePtiwof/aJQ9CR8PnRTzP9Ie e3104Q0FoPUEJpMA3W1r/Dt+oJp9nFJSSf3WNdZMKRoNOfUALhHzqD4Yotu7+3TGbqyL 90SrIAtv6U4xhYLvVqHfhQ1wMq8kC3wa0wbTpojhSgL1oEEK14KXkvxkkmre0fKzIu+r FqxfeEe6y9+dUVQn49zA/q9oCNnmfeAlXZD+2fsqMUO2N8eMxU0wLDqWfud64GUwc6Ia px9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=IZe+5zDMpwy+VeAKv/jmgUnsq/9GgHud2PTBFKt9Hjc=; b=DBk8Rln38C8UKxzd4zL9I8FUBQCE3NaG6kWLaVnIojzQI4TZ1bTPVx4JWS+0sH93GK LHDHMbO44oB4gY29HkfC843sssPvDKyS1hiUH4P5ycIrtnYEMnl6PwjTJ+ECv1d96JAl 4R4RFfRDyOCSCoY9kxayLMuVTcPZHeZqdBuvVp0wKDyjda6H5k0KF+gsA2+pf+VBE61j Da2YLmf9LGUaS3KC3cRQduyF5Z+daLcKQ+R6rhTnKJXZEh1H7043NAp7vhYuqztnQ2VI SAKsehBzMtsbmo3wVH1uJSbcbmi9TiEnVurioJHBhT9sutg4xbYSaw7lBrGQ2prahFIy bH7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17si7491918pgl.385.2019.02.06.17.32.34; Wed, 06 Feb 2019 17:32:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726567AbfBGBcK (ORCPT + 99 others); Wed, 6 Feb 2019 20:32:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:39684 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726161AbfBGBcJ (ORCPT ); Wed, 6 Feb 2019 20:32:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2EEAAAFA8; Thu, 7 Feb 2019 01:32:06 +0000 (UTC) Date: Wed, 6 Feb 2019 17:31:55 -0800 From: Davidlohr Bueso To: jgg@ziepe.ca, akpm@linux-foundation.org Cc: dledford@redhat.com, jgg@mellanox.com, jack@suse.cz, willy@infradead.org, 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 Message-ID: <20190207013155.lq5diwqc2svyt3t3@linux-r8p5> Mail-Followup-To: jgg@ziepe.ca, akpm@linux-foundation.org, dledford@redhat.com, jgg@mellanox.com, jack@suse.cz, willy@infradead.org, ira.weiny@intel.com, linux-rdma@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20190206175920.31082-1-dave@stgolabs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190206175920.31082-1-dave@stgolabs.net> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We are really talking about pinned_vm here. Signed-off-by: Davidlohr Bueso --- 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