Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp526139ybi; Wed, 17 Jul 2019 00:42:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlAoB63b3j+vwqpsuJ+xBJe+pMPvEQ8IK7r1yx++05ccxSPdVZUZvnr3hHKMS91nv1cPnA X-Received: by 2002:a17:902:e2:: with SMTP id a89mr41653608pla.210.1563349327552; Wed, 17 Jul 2019 00:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563349327; cv=none; d=google.com; s=arc-20160816; b=PaZTTVAFU5a/QpgaqlhfpnQ+iKeoMpg0Y/5XELaDQJzo3R3BQcaNUR7L7tnYqvhlaq 8w4RCekd6VABK6i4VFmhWoUrP78xmk6QyptwhdSmAWtpSn9nn99LzsmKFafqvwJgkpUX 3sbl+79+gWpOihEyJee3n2wC8N44jonIOUr94Q3rSCQxAAw16eSZ8+Kl3e4PbOUnormf E9sXq51dJ5iYCAMaFNl/lEl6tvxO5E7ZSvsbgMuQbegCmEiZ9j2rWDkHjPkFNSzL0fla okiHQUlfsv+y/ceYJefNRI3W72IgW9qSGppsXzVK4feHOU4I1y8+wBauUTx53D6sO8SW GyNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date; bh=Qrh/N3fPmqUvKBIXFnWG9Qf85/AxPyjha94qs/RVOHs=; b=SFPXylfTQx+baS6e/Y1V/pbbdvGdD67dHToce1ImBk/x7iKjtPVPlswiJbMcbiirlo At2zqabJBT38HvfDRf4Fd4xIOXPn5D7M+mpQStL7tKmtkLxCl2t1jLUTjb5a7Bm8w3iK 5BPCtSgIpLUuSs0zTbDOChXKsSZzCK6cl3GkEufmuJnm2qDkDOlYgPFbacREOiK/flQM q5XYeVbLVhk0qxniiCr6d2bssOWVN10+5wfzlWB0uiIyR0ZA4n4jDBalF+hsDtIkU+lr w3/4dlo1ys2Zro3r2pDTSFPSkQLToLCzAubIsxVxhfKYHHKwZQ9PZuzN1u20+f1LZhrK mBGw== 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 q39si22468177pjc.55.2019.07.17.00.41.50; Wed, 17 Jul 2019 00:42:07 -0700 (PDT) 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 S1725948AbfGQHl0 (ORCPT + 99 others); Wed, 17 Jul 2019 03:41:26 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38511 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbfGQHl0 (ORCPT ); Wed, 17 Jul 2019 03:41:26 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 7C61880592; Wed, 17 Jul 2019 09:41:13 +0200 (CEST) Date: Wed, 17 Jul 2019 09:41:24 +0200 From: Pavel Machek To: jglisse@redhat.com, ebaskakov@nvidia.com, jhubbard@nvidia.com, mhairgrove@nvidia.com, SCheung@nvidia.com, sgutti@nvidia.com, aneesh.kumar@linux.vnet.ibm.com, bsingharora@gmail.com, benh@kernel.crashing.org, dan.j.williams@intel.com, dnellans@nvidia.com, hannes@cmpxchg.org, kirill.shutemov@linux.intel.com, mhocko@kernel.org, paulmck@linux.vnet.ibm.com, ross.zwisler@linux.intel.com, vdavydov.dev@gmail.com, liubo95@huawei.com, akpm@linux-foundation.org, torvalds@linux-foundation.org, kernel list Subject: HMM_MIRROR has less than useful help text Message-ID: <20190717074124.GA21617@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Commit c0b124054f9e42eb6da545a10fe9122a7d7c3f72 has very nice commit message, explaining what HMM_MIRROR is and when it is needed. Unfortunately, it did not make it into Kconfig help: CONFIG_HMM_MIRROR: Select HMM_MIRROR if you want to mirror range of the CPU page table of a process into a device page table. Here, mirror means "keep synchronized". Prerequisites: the device must provide the ability to write-protect its page tables (at PAGE_SIZE granularity), and must be able to recover =66rom the resulting potential page faults. Could that be fixed? This is key information for me: # This is a heterogeneous memory management (HMM) process address space # mirroring. # This is useful for NVidia GPU >=3D Pascal, Mellanox IB >=3D mlx5 and more # hardware in the future. Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl0u0SQACgkQMOfwapXb+vJ8zACcDY6r6pIBRTTsorfNlv1bWsri YsoAn1qx2CsKnc8psHoMGpmjiWiWW/zT =4Hji -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--