Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3547551ybi; Fri, 19 Jul 2019 05:05:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqycI2vz/K89Y9PkVxAOCVcMWT33rk9LAFuHGqGYhdchsXIY2Y/wsZCZ/EY6sJpNNWO1uH8j X-Received: by 2002:a17:902:70c3:: with SMTP id l3mr55596235plt.92.1563537957745; Fri, 19 Jul 2019 05:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563537957; cv=none; d=google.com; s=arc-20160816; b=fFztV0YKnxdCjtt14isW6EUSnIxfi6KQKQpTs6ZEABIxYmXA80rXilBKy5HWptbliU sPh2AqhGaA1szTNWNqkKk63PN+Pc8iV3RQxzrwrdikvMlIjmf+wNv5CE41jFxERjfivU WGq3t0/AkkNr28Z0uyFj3FjrBHtQ7Gr0oC3V4StCZ7EIK2qBi9ypS3xqhc/poZViT0F3 lEPht8ikbz9PGk4kzo8eFRM2OjQ9qfwym811DKiOQFK3VVP8yQQY5GsNiPop4ZLkDswo WWaYhFdgwG3HakhqzV+ywRrxrmZwmZzI+wSjQZI0nHZ8ce4DGROrMPBVm5GUGVK2KEbk v8AA== 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:message-id:subject:cc :to:from:date; bh=gkIaG6Y1Ek/rUrZiOqcZYM4BiulJxfP9QxHGCXXAVxs=; b=MqKUWT8Bk0FtI+xXp2W90a1a8ZK87BDTcOlQhas8Bgi86QEoFSSz8uqvWtT0cNV/Mh ngjCoZw1FTYrQ1fctdo1A9MT2/La5AyUWNb2uuCMCL/i3qx6crjw7xC9AoTeKtOg1GWd z+LXYXiA4ZyGnNXTzNLN+duAelQ6ADRk4i/Y+6q+7usjblwnf4JdFnj5IS8xQ1C8NwBW m5yC0pom9+bMY8ijpEioD8nso61qNFSa+tD5zvNnOrw7xsFJE0vakyi4qTnwjIKLGoa/ D8r0LDWmkK1uU5dzx4eYJe7nuDEXk4ObGKgX9Irrxe/UFmRMdf+bU7Lk7bZfEww/Y8hb 7OfQ== 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 l2si592349pff.221.2019.07.19.05.05.42; Fri, 19 Jul 2019 05:05:57 -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 S1728208AbfGSMEg (ORCPT + 99 others); Fri, 19 Jul 2019 08:04:36 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35807 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbfGSMEg (ORCPT ); Fri, 19 Jul 2019 08:04:36 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 8C75780305; Fri, 19 Jul 2019 14:04:22 +0200 (CEST) Date: Fri, 19 Jul 2019 14:04:33 +0200 From: Pavel Machek To: Christoph Hellwig Cc: Jason Gunthorpe , john.hubbard@gmail.com, SCheung@nvidia.com, akpm@linux-foundation.org, aneesh.kumar@linux.vnet.ibm.com, benh@kernel.crashing.org, bsingharora@gmail.com, dan.j.williams@intel.com, dnellans@nvidia.com, ebaskakov@nvidia.com, hannes@cmpxchg.org, jglisse@redhat.com, jhubbard@nvidia.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, liubo95@huawei.com, mhairgrove@nvidia.com, mhocko@kernel.org, paulmck@linux.vnet.ibm.com, ross.zwisler@linux.intel.com, sgutti@nvidia.com, torvalds@linux-foundation.org, vdavydov.dev@gmail.com Subject: Re: [PATCH] mm/Kconfig: additional help text for HMM_MIRROR option Message-ID: <20190719120432.GC11224@amd> References: <20190717074124.GA21617@amd> <20190719013253.17642-1-jhubbard@nvidia.com> <20190719055748.GA29082@infradead.org> <20190719105239.GA10627@amd> <20190719114853.GB15816@ziepe.ca> <20190719120043.GA15320@infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: <20190719120043.GA15320@infradead.org> 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 --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2019-07-19 05:00:43, Christoph Hellwig wrote: > On Fri, Jul 19, 2019 at 08:48:53AM -0300, Jason Gunthorpe wrote: > > It is like MMU_NOTIFIERS, if something needs it, then it will select > > it. > >=20 > > Maybe it should just be a hidden kconfig anyhow as there is no reason > > to turn it on without also turning on a using driver. >=20 > We can't just select it due to the odd X86_64 || PPC64 dependency. >=20 > Which also answers Pavels question: you never really need it, as we > can only use it for optional functionality due to that. Okay, just explain it in the help text :-).. Alternatively... you can have WANT_HMM_MIRROR option drivers select, and option HMM_MIRROR which is yes if WANT_HMM_MIRROR && (X86_64 || PPC64), no? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl0xsdAACgkQMOfwapXb+vJ4xQCgwUle9cq2liiK/z3wCY8zVZHp nbwAoKj+VBag+zS1XtCAE1xHv6gYjwtN =O3+x -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00--