Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3643021ybd; Fri, 28 Jun 2019 12:17:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSQ+cKcX9vmwrWj2KK0jLXp/Q3bnEmmutcFnHn8Yk93XL2YQ2vAo8OOhXzMy45DIVNvdva X-Received: by 2002:a63:4553:: with SMTP id u19mr10679705pgk.420.1561749435056; Fri, 28 Jun 2019 12:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561749435; cv=none; d=google.com; s=arc-20160816; b=RJDvlsDRz2Ck36jzO+zfRiW1lW2YE2mrZ/Rk+6UQnSiNAGzOSBRr9ZUhtTJtgRbz6r fGlc8Km9VOUR9zop27quWnfR5LWAXN68jIFbRcdCm+Z1RC/BlpuepGHwhfpLOHSmsdoU nt2YbxY8urunagFseetWBxLQD0qaGupMt4HLaHorYAQqlvoAveIAQkm/6gtbavIkYmgN XBVfbk/IvHiK1mmFu1PFixZ7Xnb0jOHvtHjLHo1scqHt51bIDee9yWl8YHY4v5TkXiYX 0jPekcazAda1J2dSG0NPEThYMAb/nUG1R0JPYCtMd2TbdGnArta8q+uzKzLd18/nTHwM /zTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3EPvpztsPK7520nxsbDhjXQoNlIusJTLU8rYF+ocke4=; b=OrTSn06IHSFlNqTgSDMoAdcAelnUpAH9zdQGwp77NmTt+pUdTv2IgQ+Ukws5uqKQ2B iJ4H+yZ+scpsVD3hH+gOF7rLA29bR4odMQHUZKjwTWB6DRUbERc4WNuPBpMwQMy4s9fI /pjpcu0wg8fBIMqeQVMPOcxn2gnA8B75msoqr45ccs0O2D8ty1HEMPKA9Y/yWd2CGSG1 BUpl3x+tAhAxFD/mpH0D5BWCvjxU403iXNVHjEWAMijRhZzWp3PGESmxtvs3vbLyk7+f psH6/htq9u6vRk2u2nFjfAonfcgc2kQb3MzWPJb7gHZc0AKUhhyyeWxC4fl7HUJvSltZ jA2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="jX7l/aSc"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l19si2636708pgb.204.2019.06.28.12.16.58; Fri, 28 Jun 2019 12:17:15 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="jX7l/aSc"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726961AbfF1TO4 (ORCPT + 99 others); Fri, 28 Jun 2019 15:14:56 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:36190 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbfF1TOz (ORCPT ); Fri, 28 Jun 2019 15:14:55 -0400 Received: by mail-ot1-f67.google.com with SMTP id r6so7068402oti.3 for ; Fri, 28 Jun 2019 12:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3EPvpztsPK7520nxsbDhjXQoNlIusJTLU8rYF+ocke4=; b=jX7l/aScOnNag6NN8PLCh3f8Z8jWQa8rXqdmRFTm19zC5cGsMg4bGsXFEunae/2WjS ovvvaTeYJH2utyMhChKwGiGq8ZBoeIIKayiImspczzJ8SDCf8XDDL3viRbXyjtD1lYaK kzh/gY0uzN3viGFbDD3U65We27uV73cZy9DpexfMTRSqDZy8x6zljmPhhW1gZcx2hqFe GQ/mPFT2QGn+yrEJgjwPpeYXNTM2MxsKsrWYit2Wtxn/cph7hWSIQxFHWHLu8ToPNVuS 0Ys9z5mBN7oGuoBHQrTDBIA0uIvuwg0tIL5G5RHXTDvUcDFV767ifaCgmnx0wSkTm7cV iWpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3EPvpztsPK7520nxsbDhjXQoNlIusJTLU8rYF+ocke4=; b=BrzosKGzJs9I7nGRoy49SGM0HZeS/3RUlqT+6NuwzVMnCtj+T6rCo93MVGcLyIaur+ kxsiTFNYd7DvWnhtLIkSOpIs5sxtXckpCOnMg0fCQxEgDsxdHyRNup7W9ZwRfe4mGyOv AsqeB4npnLeFF3vfet3NEJxaG49YhsEoLpvPFKmloTeKbIOm/SNRj/WJwzwyW3Uobsjc sruxgGVYcAU6bYY7kq7QzF8UksECJHG3TGKJ938/EcLwaU7Y7NrbbwexDlyVhPIeQ3I+ mjhkjvmjWK4AQshS8W6eXK9cygCyngI9EEW9ifVEIaRdLFZQnGRJ9OFyzcfjm5oF2zjo cs9w== X-Gm-Message-State: APjAAAXrw8/MXWc+aXv1bm1u47vRbMzUJPiBJG1fOzwIc31JXx5zuETD oufxbjdWSokf34BNKdzm27KanMXCDDzoVjrXO+QUtA== X-Received: by 2002:a9d:7a9a:: with SMTP id l26mr8541745otn.71.1561749295055; Fri, 28 Jun 2019 12:14:55 -0700 (PDT) MIME-Version: 1.0 References: <20190626122724.13313-17-hch@lst.de> <20190628153827.GA5373@mellanox.com> <20190628170219.GA3608@mellanox.com> <20190628182922.GA15242@mellanox.com> <20190628185152.GA9117@lst.de> <20190628190207.GA9317@lst.de> In-Reply-To: <20190628190207.GA9317@lst.de> From: Dan Williams Date: Fri, 28 Jun 2019 12:14:44 -0700 Message-ID: Subject: Re: [PATCH 16/25] device-dax: use the dev_pagemap internal refcount To: Christoph Hellwig Cc: Jason Gunthorpe , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , 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 Content-Type: text/plain; charset="UTF-8" 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 12:02 PM Christoph Hellwig wrote: > > 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. I believe -mm auto drops patches when they appear in the -next baseline. So it should "just work" to pull it into the series and send it along for -next inclusion.