Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp354582ybz; Tue, 21 Apr 2020 22:52:21 -0700 (PDT) X-Google-Smtp-Source: APiQypIkGmEBYrbrwH/4ZNgv23gjQPMmSr2f/4gbVHjVp3wMWT1Q1Ufk+AdJqZzGKrNexoGZEKgC X-Received: by 2002:a17:906:7b53:: with SMTP id n19mr25333792ejo.244.1587534740742; Tue, 21 Apr 2020 22:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587534740; cv=none; d=google.com; s=arc-20160816; b=X4GUtxefjStN8Tv3y4wC1/Amle0omALatpdTkL21ExrlliCcwRd5VpjfA/QMnL88jv TPkElflXaQj7+KEjvXVyZXjXiJoCfplmeepDy+PbCSyQK0wKNxtjN4D9QcZw0oM+TzQj a2sT+R6xGo5jeNzOroQOCM2QBoVUbxFbp3utOJgAePvqZf6G29qIyeT5KI+NCUayjqyU hLl6UrWeuEujtUu4HOOfFKkzB7zOvTH4XXIotsiz8ERWIK+p/QHQuLsmVj9bsijLZeEh naraPuFWueB2kyQNqLO5zWZdbHIFjLmcpXqgrR+HOI/zQl6TvGaBe4wflrd4Dz426dC7 9sVA== 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=nnXUanMI5nnQV6U4ZCP3yRe46a4pw/gAAk1XQVERsUk=; b=OHmsuJPIwU4Z06NzHfhpduL8jh0RF2bjfZ1hvZUeh3bCakYgeuOux6B2BCkP6xG0iI zI05t2quKaP3nthNfAVQDo7Z2q8MrXAT7lDLpg4qC2SuHU0zuvYE3B1zE3GrxR9sUgLp 6AHLMVxNVt6pGS0oqYFXznxVXFuXmFB5hI8NVTzwikk7JjsvQWSQc2mTsjQGoVFZjS7N UH4yW2IjhgygIw+J/2urmutaEn6GRY379wWDTkrQw/LlaR2KWw7eiiA6L6svu1m6z4sQ m3dIfaWE8vT8EO3P/jqqp3L73oaoMxMe3MRbTUNiYVtQ4OZI28nePuNF8/bDzUUwoDgn piQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si2938412ejx.386.2020.04.21.22.51.57; Tue, 21 Apr 2020 22:52:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbgDVFu5 (ORCPT + 99 others); Wed, 22 Apr 2020 01:50:57 -0400 Received: from verein.lst.de ([213.95.11.211]:50212 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbgDVFu5 (ORCPT ); Wed, 22 Apr 2020 01:50:57 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 95D7668C4E; Wed, 22 Apr 2020 07:50:53 +0200 (CEST) Date: Wed, 22 Apr 2020 07:50:53 +0200 From: Christoph Hellwig To: Jason Gunthorpe Cc: linux-mm@kvack.org, Ralph Campbell , Alex Deucher , amd-gfx@lists.freedesktop.org, Ben Skeggs , Christian =?iso-8859-1?Q?K=F6nig?= , "David (ChunMing) Zhou" , dri-devel@lists.freedesktop.org, "Kuehling, Felix" , Christoph Hellwig , intel-gfx@lists.freedesktop.org, =?iso-8859-1?B?Suly9G1l?= Glisse , John Hubbard , linux-kernel@vger.kernel.org, Niranjana Vishwanathapura , nouveau@lists.freedesktop.org Subject: Re: [PATCH hmm 1/5] mm/hmm: make CONFIG_DEVICE_PRIVATE into a select Message-ID: <20200422055053.GA22366@lst.de> References: <0-v1-4eb72686de3c+5062-hmm_no_flags_jgg@mellanox.com> <1-v1-4eb72686de3c+5062-hmm_no_flags_jgg@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1-v1-4eb72686de3c+5062-hmm_no_flags_jgg@mellanox.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 09:21:42PM -0300, Jason Gunthorpe wrote: > From: Jason Gunthorpe > > There is no reason for a user to select this or not directly - it should > be selected by drivers that are going to use the feature, similar to how > CONFIG_HMM_MIRROR works. > > Currently all drivers provide a feature kconfig that will disable use of > DEVICE_PRIVATE in that driver, allowing users to avoid enabling this if > they don't want the overhead. > > Signed-off-by: Jason Gunthorpe Looks good, Reviewed-by: Christoph Hellwig