Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3630900ybd; Fri, 28 Jun 2019 12:03:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyj/Ctckr6jGxlXuVzSxXbf9jfRRZJE1UG9BFla7QyX87EQZ163UOWmY+9f9yRToMsTKvub X-Received: by 2002:a63:c302:: with SMTP id c2mr10159048pgd.300.1561748638163; Fri, 28 Jun 2019 12:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561748638; cv=none; d=google.com; s=arc-20160816; b=bkkMnNvofrJtZewY2losqZ/h431YLjelMlwmjLB7Jovny+MqdLUKZTSL8dgN3kD3AM lgj4RbaCUUsVTTLq4IdLJOgIZETVp9jyijUe8fcq8RkqKtFAmr4SCM/ThcQ0LUmrF/NL lcmnn1N0jBRxExYJSU0T+L1ULRLYuxgNPVgPVhcjw4B5TzHIiLoUqfxpJtGs5B4tQWLF d6EFV7u7YVTU0oJgje4TaDtuYEsG/SJw/OX83vpgzjvb3o9Yrcy3PKE8Qq5wVRqjqCMm HkSGmlqfXXVbnJrMqTLYTjmJWmfwaBB5hJlS1vrXDdztVf0r39k1KtiMOJWs+3XutxNI qktQ== 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=WZ3NkknDnBqS2ueiSkj21ZW3axXlay+XPFVOXe12wto=; b=XRkXmK0SgC30+tW+eTg1N6i2M3dWK6pf+nwFVW1qnOZsaChiAcZ8Iy9N/5QZ9fNoun mCW8FRWay8i4/E8vbiZU5Wy6HlR4ccMe1jciddfXBvdBiGHXb0G9Z2FJyJNpWPGwLmAt 8G/x35XYVdVppQv7pex6n+Vqo5KnrDwMUIocdHj8ohpPFQBW3l2Ojo1TipQi02tRNm8b ot/Y6yxBqJkTHezh3N1LQPy/39dRwQVpJRrhEIYuSPqsTpk2HdgTkYBUtBGjIdG7sun7 j4MDD2Ln6fIwfbskxrqJnTqRwQsypk1VLizYh3BgOi3r4cDFSAe9v0cb1VEJai9vZofQ iAww== 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 k33si2804953pld.359.2019.06.28.12.03.38; Fri, 28 Jun 2019 12:03: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 S1727000AbfF1TCK (ORCPT + 99 others); Fri, 28 Jun 2019 15:02:10 -0400 Received: from verein.lst.de ([213.95.11.211]:40914 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbfF1TCK (ORCPT ); Fri, 28 Jun 2019 15:02:10 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id D53A7227A81; Fri, 28 Jun 2019 21:02:07 +0200 (CEST) Date: Fri, 28 Jun 2019 21:02:07 +0200 From: Christoph Hellwig To: Dan Williams Cc: Christoph Hellwig , Jason Gunthorpe , =?iso-8859-1?B?Suly9G1l?= Glisse , Ben Skeggs , "linux-mm@kvack.org" , "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-nvdimm@lists.01.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Andrew Morton Subject: Re: [PATCH 16/25] device-dax: use the dev_pagemap internal refcount Message-ID: <20190628190207.GA9317@lst.de> References: <20190626122724.13313-17-hch@lst.de> <20190628153827.GA5373@mellanox.com> <20190628170219.GA3608@mellanox.com> <20190628182922.GA15242@mellanox.com> <20190628185152.GA9117@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, Jun 28, 2019 at 11:59:19AM -0700, Dan Williams wrote: > It's a bug that the call to put_devmap_managed_page() was gated by > MEMORY_DEVICE_PUBLIC in release_pages(). That path is also applicable > to MEMORY_DEVICE_FSDAX because it needs to trigger the ->page_free() > callback to wake up wait_on_var() via fsdax_pagefree(). > > So I guess you could argue that the MEMORY_DEVICE_PUBLIC removal patch > left the original bug in place. In that sense we're no worse off, but > since we know about the bug, the fix and the patches have not been > applied yet, why not fix it now? The fix it now would simply be to apply Ira original patch now, but given that we are at -rc6 is this really a good time? And if we don't apply it now based on the quilt based -mm worflow it just seems a lot easier to apply it after my series. Unless we want to include it in the series, in which case I can do a quick rebase, we'd just need to make sure Andrew pulls it from -mm.