Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp602240ybi; Thu, 13 Jun 2019 23:44:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqysWRqC1dMA7gSS5p6jVL/jw+95cKwwNP40qSI0D3E7BgP2r7REAM5MVK9sReyl2ekKIXok X-Received: by 2002:a63:5d54:: with SMTP id o20mr32696034pgm.97.1560494692871; Thu, 13 Jun 2019 23:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560494692; cv=none; d=google.com; s=arc-20160816; b=Rq9WFNfY9lAYgysunV7cQmxNw0EuLL/plYRXAiLnL0037pP4K/W2H/0AqZF2OK1DyY 9fP5AtI5vHyoZV1++LRrrvQ4+OBFX+O7FX/qS2jjnHqMQg29IH51B5egdXAJUs6yHtcf WnuMGQHQK8UB8k6Y0d+/kLeVzzBlGh5nS6fIh92EM5KiqWLTdNdZ4VeEHBUuFeCZmJAg 3UAEVHpxB1uj8NQQyBe7+A4nhBC0hDOg6uMoNXJ7zobEPFaRiyu8G8XCpobAc9/kpSV3 RnXhu3L+ZbFhULIKAAs6jcx3nS4QsZf7hcBdVnBN9rhpdJKGs93tux4pO5Sz25tylq2a g4mw== 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=4ewZIXMd6QVZdJWtzUTUDe+bVjnKK3XZRSDBcNJAUY0=; b=U2wxpedTDgQmnYAV47YxWKtrrzDD9rExBFnpJhPtUiOe21Te//lJZWd/oN9zF4jPSU 4HVuq78qA+6fRJyjP7iJLZc2L585x8B9kZ6Bo2yNHNbQTNrqVxiP56C045IFFxbvKpt8 Nlof/ikT+IygFH+VRofo2x8UT3eRtZ7Jh0fkL7kTZVAFcHSkwJ5nGCTHRQMUvpwqRT9D EtpYJnHj22ACWNV5PiuPGJf1Zd+Iwb4rKztCRDdfWJHfRpzTi+bW2g3nwZp9dSotl+Lw q4rqeOHkqHaMUQCGZR+AFyDTAviM7hO7marhaEesfAIyJHLBuYxIyCFdzrui75Mt8c2u XM2g== 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 z61si1438707plb.19.2019.06.13.23.44.38; Thu, 13 Jun 2019 23:44:52 -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 S1726160AbfFNGnn (ORCPT + 99 others); Fri, 14 Jun 2019 02:43:43 -0400 Received: from verein.lst.de ([213.95.11.211]:44484 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725780AbfFNGnn (ORCPT ); Fri, 14 Jun 2019 02:43:43 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id D916768B02; Fri, 14 Jun 2019 08:43:13 +0200 (CEST) Date: Fri, 14 Jun 2019 08:43:13 +0200 From: Christoph Hellwig To: Ira Weiny Cc: Jason Gunthorpe , Ralph Campbell , "linux-nvdimm@lists.01.org" , "nouveau@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "linux-mm@kvack.org" , =?iso-8859-1?B?Suly9G1l?= Glisse , Ben Skeggs , "linux-pci@vger.kernel.org" , Christoph Hellwig Subject: Re: [PATCH 18/22] mm: mark DEVICE_PUBLIC as broken Message-ID: <20190614064313.GM7246@lst.de> References: <20190613094326.24093-1-hch@lst.de> <20190613094326.24093-19-hch@lst.de> <20190613194430.GY22062@mellanox.com> <20190613195819.GA22062@mellanox.com> <20190614004314.GD783@iweiny-DESK2.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614004314.GD783@iweiny-DESK2.sc.intel.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 Thu, Jun 13, 2019 at 05:43:15PM -0700, Ira Weiny wrote: > yes but the earlier patch: > > [PATCH 03/22] mm: remove hmm_devmem_add_resource > > Removes the only place type is set to MEMORY_DEVICE_PUBLIC. > > So I think it is ok. Frankly I was wondering if we should remove the public > type altogether but conceptually it seems ok. But I don't see any users of it > so... should we get rid of it in the code rather than turning the config off? That was my original idea. But then again Jerome spent a lot of effort putting hooks for it all over the mm and it would seem a little root to just rip this out ASAP. I'll give it some more time, but it it doesn't get used after a few more kernel releases we should nuke it.