Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp157220ybi; Thu, 13 Jun 2019 13:24:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwixZ9WRt/oMQezRh1IcqdgNF7v507BR76BrL3ROCFEBQa1H6NKeTKsMzNB5ytQCzFgxwIw X-Received: by 2002:aa7:9825:: with SMTP id q5mr57678934pfl.140.1560457498689; Thu, 13 Jun 2019 13:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560457498; cv=none; d=google.com; s=arc-20160816; b=itVHwLbNjQNGrm7EF5YDhJJAKPKO6mg8DvZbMk6aboUWsabyzrinKXuTbu6YPxVb1P R+3icsaUtE4URlY77dJdluP+8pB+lvjVwwbZ75u9aScQ3YmOTyFUROcvM9AVgcpUmtCo 9EEtVidTiIh8Ir6cX5nOqylL75fO3i6cwXI9QA/Zpai5/u8gzGnckGwAgr7U03Jo5QqB V09mXbDlOMnOXmqQvpaxtpCAkd9Nl0LB1pfo0isdplHGAVdrTkoyXWrhN9cEemqeLpjT YtYz5OH5sDzFGiXCijjXAckepn6u+6UomwqWFddczkjKG+hPKbOPJZhlEQlMzghQWXO+ LsGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to; bh=zvcMD02FpQPsXeNxcEP4PcaHF/GbYyh00HOu0cSh09k=; b=HvZ4Ad4mdte4q5aksY3mXEL6ySNPIXatCHIS8wocgrpmW8GaeCwHYK/xNP7hrrBzII ETrOpZzYpIeOVfuJ6y002qjsGeOC1ME6vfXP2j/ziMQLpzwDm7ANdcSDtM+OIcWwXGl4 TLM1g3OYM4+70Om64iYLrSynfg4M1FiTeBt6eCphstSnBQN/ZtrlRo+4KM44xKm2jY2q knqFf98sMHoq0JlaWMpLk8ifyxeebIScwcn5MTPHtKQpUa1GDgtWfyh+PZAtbja63S6N eaDqyfJMoDJOP0Uumdce+so9JzL/jj9HiBZlgQazQsgdroBRk+WoNIK2TSoVfi1ld0GO zoCA== 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 131si437590pfu.165.2019.06.13.13.24.42; Thu, 13 Jun 2019 13:24:58 -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 S1728985AbfFMUYa (ORCPT + 99 others); Thu, 13 Jun 2019 16:24:30 -0400 Received: from ale.deltatee.com ([207.54.116.67]:59714 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbfFMUY3 (ORCPT ); Thu, 13 Jun 2019 16:24:29 -0400 Received: from s01061831bf6ec98c.cg.shawcable.net ([68.147.80.180] helo=[192.168.6.132]) by ale.deltatee.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hbWGl-00047r-81; Thu, 13 Jun 2019 14:24:24 -0600 To: Dan Williams Cc: Christoph Hellwig , linux-nvdimm , nouveau@lists.freedesktop.org, Linux Kernel Mailing List , Maling list - DRI developers , Linux MM , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Jason Gunthorpe , Ben Skeggs , linux-pci@vger.kernel.org, Andrew Morton References: <20190613094326.24093-1-hch@lst.de> <283e87e8-20b6-0505-a19b-5d18e057f008@deltatee.com> From: Logan Gunthorpe Message-ID: Date: Thu, 13 Jun 2019 14:24:20 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 68.147.80.180 X-SA-Exim-Rcpt-To: akpm@linux-foundation.org, linux-pci@vger.kernel.org, bskeggs@redhat.com, jgg@mellanox.com, jglisse@redhat.com, linux-mm@kvack.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, linux-nvdimm@lists.01.org, hch@lst.de, dan.j.williams@intel.com X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: dev_pagemap related cleanups X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-06-13 2:21 p.m., Dan Williams wrote: > On Thu, Jun 13, 2019 at 1:18 PM Logan Gunthorpe wrote: >> >> >> >> On 2019-06-13 12:27 p.m., Dan Williams wrote: >>> On Thu, Jun 13, 2019 at 2:43 AM Christoph Hellwig wrote: >>>> >>>> Hi Dan, Jérôme and Jason, >>>> >>>> below is a series that cleans up the dev_pagemap interface so that >>>> it is more easily usable, which removes the need to wrap it in hmm >>>> and thus allowing to kill a lot of code >>>> >>>> Diffstat: >>>> >>>> 22 files changed, 245 insertions(+), 802 deletions(-) >>> >>> Hooray! >>> >>>> Git tree: >>>> >>>> git://git.infradead.org/users/hch/misc.git hmm-devmem-cleanup >>> >>> I just realized this collides with the dev_pagemap release rework in >>> Andrew's tree (commit ids below are from next.git and are not stable) >>> >>> 4422ee8476f0 mm/devm_memremap_pages: fix final page put race >>> 771f0714d0dc PCI/P2PDMA: track pgmap references per resource, not globally >>> af37085de906 lib/genalloc: introduce chunk owners >>> e0047ff8aa77 PCI/P2PDMA: fix the gen_pool_add_virt() failure path >>> 0315d47d6ae9 mm/devm_memremap_pages: introduce devm_memunmap_pages >>> 216475c7eaa8 drivers/base/devres: introduce devm_release_action() >>> >>> CONFLICT (content): Merge conflict in tools/testing/nvdimm/test/iomap.c >>> CONFLICT (content): Merge conflict in mm/hmm.c >>> CONFLICT (content): Merge conflict in kernel/memremap.c >>> CONFLICT (content): Merge conflict in include/linux/memremap.h >>> CONFLICT (content): Merge conflict in drivers/pci/p2pdma.c >>> CONFLICT (content): Merge conflict in drivers/nvdimm/pmem.c >>> CONFLICT (content): Merge conflict in drivers/dax/device.c >>> CONFLICT (content): Merge conflict in drivers/dax/dax-private.h >>> >>> Perhaps we should pull those out and resend them through hmm.git? >> >> Hmm, I've been waiting for those patches to get in for a little while now ;( > > Unless Andrew was going to submit as v5.2-rc fixes I think I should > rebase / submit them on current hmm.git and then throw these cleanups > from Christoph on top? Whatever you feel is best. I'm just hoping they get in sooner rather than later. They do fix a bug after all. Let me know if you want me to retest the P2PDMA stuff after the rebase. Thanks, Logan