Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp176197ybi; Thu, 13 Jun 2019 13:48:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZQEhhPtMudDU6B2viQ+RCMaf8MWQ8AFDyXQjxcHPa74IVW5rWqYcyWReQ1xJm4kOmXvfA X-Received: by 2002:a62:fccd:: with SMTP id e196mr22414225pfh.53.1560458939329; Thu, 13 Jun 2019 13:48:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560458939; cv=none; d=google.com; s=arc-20160816; b=UWF8jaE5Tsu3ieN4WZr3GvQqv0aNg3dUEVDLFM8fRsNWri3Tl7vxnF7QDyFdkgxTXG Yw7ElL7L2nAv9jknm9f2lIi0Tur4h0NuaFrcsC/rYm6BzC9nxaU6VeLDrxHXvwhJKj0v 6JHdQjsyehiLi8mgEb5X6nsl/Og4a4NM8LcaYVsX/TYq/Cbha3wy+mzwnfn+bCSNZI4d OO8suHIjkxnqqU3MO01TYl4vW633Xq/OB0pBwcgpx1W9zaV6Zu82U8v2KTUOB/ESTHf0 OTK3IU+w3tOLRm9RCOV3BHVs4AmVFckAcRekqG1YhtJofzyWlIKGuFmbV7eR/rhd+yOu f52A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Nd3CksYN7ROJNyC0XgGmubA0zbLo2CWKKnS9ZGVJC/w=; b=jWKvDIeUiJw9M6b7l9zxPjoUg+DQVn/okECog9WycNnqUY38dDz9Hu4+dd/IlkUiMp ZZWxEwpkZP4SiZUkf4avPQ0h+poVM31m2YIBCEMsjprstD6pphxBVBI1aiGVNSZmbURS YJrEGydKlIR3cHquLZSJYIZObiVV8FLU4JPCJT7oAgJT5IR8A7gJp3ayDm6AjUyKE7rn xQH6aX4YxPMu+MWYsjramEa2SScIl6ryBgwJrSJJLGr2f2H+rLu2nn5syoH285wo9nmL uQwV+oM4r4/828+9+XlT7JMreu9b9sr8eKsrlGs+xHjoHc8FmJIiDNyMV6clIm/14etu 2xoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W8RFMGE2; 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 f8si511804pgv.482.2019.06.13.13.48.43; Thu, 13 Jun 2019 13:48:59 -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; dkim=pass header.i=@kernel.org header.s=default header.b=W8RFMGE2; 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 S1729981AbfFMUse (ORCPT + 99 others); Thu, 13 Jun 2019 16:48:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:34756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfFMUsd (ORCPT ); Thu, 13 Jun 2019 16:48:33 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8B3942133D; Thu, 13 Jun 2019 20:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560458913; bh=QBKFiYL+IE6QfIxDxWONJrMHcfZVbZUqMyER/iI/i+c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=W8RFMGE2XEBfIMgZiJVLDJlgDCfrRRk8a5YMGm6NJWq3iOW7BFqDgEcE3jR3EzuxH 6mecnfow3Qth0X+c0FNOd8EU7Tgs7NtIzjtvm3fET+fi8GtnZHvccohCORja+Kjvbx qMyCzCY6jdHR6rPl/G9MUU/Sgsma/isYN3+x1ZvE= Date: Thu, 13 Jun 2019 13:48:31 -0700 From: Andrew Morton To: Logan Gunthorpe Cc: Dan Williams , Christoph Hellwig , linux-nvdimm , nouveau@lists.freedesktop.org, Linux Kernel Mailing List , Maling list - DRI developers , Linux MM , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , Jason Gunthorpe , Ben Skeggs , linux-pci@vger.kernel.org Subject: Re: dev_pagemap related cleanups Message-Id: <20190613134831.a7ecb1b422a732bff156ec50@linux-foundation.org> In-Reply-To: References: <20190613094326.24093-1-hch@lst.de> <283e87e8-20b6-0505-a19b-5d18e057f008@deltatee.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Jun 2019 14:24:20 -0600 Logan Gunthorpe wr= ote: >=20 >=20 > On 2019-06-13 2:21 p.m., Dan Williams wrote: > > On Thu, Jun 13, 2019 at 1:18 PM Logan Gunthorpe w= rote: > >> > >> > >> > >> 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=E9r=F4me 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 glo= bally > >>> 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 ;( > >=20 > > 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? >=20 > 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. I had them down for 5.3-rc1. I'll send them along for 5.2-rc5 instead.