Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3840282imb; Tue, 5 Mar 2019 21:51:37 -0800 (PST) X-Google-Smtp-Source: APXvYqx04LiUF/WQCzYxuxBrbXc9p1RyczLrhy/plghvKz+quOni7zQgG5wTv1BHoyDDdlL/ivXc X-Received: by 2002:a63:1723:: with SMTP id x35mr4684371pgl.364.1551851497298; Tue, 05 Mar 2019 21:51:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551851497; cv=none; d=google.com; s=arc-20160816; b=DGyRdysnbRtTjUTRnOKPxueNmc4Vut3FrADtTD8Evux+Ni8guLM31CHoVVkVbMG6w5 1DuhL22e0jasgK0IZs636ATtngbmkQWerEGaVTBUWrQWruTH0ntjScLsajhPfE2UMQNd 9RCE1WTaz4MOda4M9zIjPK+a2iNbqQxvuZV5CYtQuhRmTGfAHSysjOx924rgBB0QC1lW VMYjETV3QZMvmr5/YQL0918Qi8leL9U1ht0WfMx7G2BvZ46fKN1dEJ3Bw0KE0GzTCy+2 0582qkei+/ob/fMap31iiYDlCeVjGWt4UWBUZEAdJgzXfrsEqiFYWdF+l9YCzSz0/8mV jGNw== 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=2qnMFe0wuLDgOjKuovV5S00fz/lOz7tP0yCLPiPSWvw=; b=UXUNHHN709HByE3fQdTrrHUumleoKhA83/IL+nUcXcQSz0O6Fl/ehKaUVh1f4Rklkb HkA66Fm4OnQcHROhYO6dZxOydRtdZRM6Yh2MAwyY+TsUTvPNhqrhsDEW+IIAjfCF8Pcs fOnjNVrKQdKiVXd4n2FhNg1TKQGJ68cX8ByimyebaJChvpg0GQ+ddnq4Lw6bIctEY5LP rXbwGkDJlf3XiMBg0UGAmf9peXvSD5LURNUS8Y3he6TswRId5YdwbicKbHN2U9q41TQL RsKhA3Dz3M21Hqv26rjD3c1sekG+ZPTp1wFjF+ohxiV5I2YwpdpGT+ldN29SPQhE36xq J13g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FVhuva3L; 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 d11si635207pls.255.2019.03.05.21.51.21; Tue, 05 Mar 2019 21:51:37 -0800 (PST) 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=FVhuva3L; 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 S1728878AbfCFEUX (ORCPT + 99 others); Tue, 5 Mar 2019 23:20:23 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:44800 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbfCFEUX (ORCPT ); Tue, 5 Mar 2019 23:20:23 -0500 Received: by mail-io1-f68.google.com with SMTP id y13so9058385iop.11; Tue, 05 Mar 2019 20:20:22 -0800 (PST) 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=2qnMFe0wuLDgOjKuovV5S00fz/lOz7tP0yCLPiPSWvw=; b=FVhuva3LR+eI5EQoGp/b1J0Y/1VduXhXMmLkQWmgBRGb3wzb/nznQsH5QDaYwrFNqU XpALPw3aoz8G7E/++gAa8RwgQWWfSIKFkwygEpv2VYwy4AIJbTX8XqzU4+9kBAdQMihO FmcymTtsWkD6lPfXvGsCAkogeRb2Ezrtrhf6VaT6CTXwcsKJVrFRbzte/HSiR1VTdE0k y2/KO67jB3zH6CkWLkESr3+SeEMdK4MKsM8VFCGYigyKo3/lyhNDHGp43ZR99+F4yuU/ PIb/gjDSn9f954HmoXUAPXtvY5C05HwrXVyylVd5+UHAxU5zIJ3pmdIxPmtCgLOKcF2j seKg== 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=2qnMFe0wuLDgOjKuovV5S00fz/lOz7tP0yCLPiPSWvw=; b=XAuvAPnvnvz5G3Oo2ZbiXpBueknnDnYOT+peJs1OxEUmMVgaG6VafJSnyw40+XdLB7 8gC9zzYBeg7xSW/Fhox3zG9O95GqFzLtz4k0BY4kh5kaRDduCh1e8+UrRKhggmOZsJ80 wanf/Q3maoQs7FY8lCsBHxGnLSckVWbdsFBR+AGd0cINoyaJvb7sBhVTz2q30zL2da+c lzNFDhUIn66lk7bx63pjAGL23nDrD9ucoxfLWWi/SZlMTrNDzIygMr+OWg1NuIvEkF9V p70rH+PZwtXfTosfTxVWkVeIybu4Yu8oC0s8rR0BthPACDf7UgVBOIo6AytzJJOOyw+c ljpA== X-Gm-Message-State: APjAAAVtZ+PDe6xlJG9kRbqgPH/tOnJ3H2dFcC1cZqxYwT+xbytm6DoO ni9O5E9jkrcZrP7VlW8lM15mlQ8aPg3ZolbHsdY= X-Received: by 2002:a5e:8347:: with SMTP id y7mr1970069iom.136.1551846021790; Tue, 05 Mar 2019 20:20:21 -0800 (PST) MIME-Version: 1.0 References: <20190129165428.3931-10-jglisse@redhat.com> <20190129193123.GF3176@redhat.com> <20190129212150.GP3176@redhat.com> <20190130030317.GC10462@redhat.com> <20190130183616.GB5061@redhat.com> <20190131041641.GK5061@redhat.com> <20190305141635.8134e310ba7187bc39532cd3@linux-foundation.org> In-Reply-To: <20190305141635.8134e310ba7187bc39532cd3@linux-foundation.org> From: Dan Williams Date: Tue, 5 Mar 2019 20:20:10 -0800 Message-ID: Subject: Re: [PATCH 09/10] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem To: Andrew Morton Cc: Jerome Glisse , Linux MM , Linux Kernel Mailing List , Ralph Campbell , John Hubbard , linux-fsdevel 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 Tue, Mar 5, 2019 at 2:16 PM Andrew Morton wrote: > > On Wed, 30 Jan 2019 21:44:46 -0800 Dan Williams wrote: > > > > > > > > Another way to help allay these worries is commit to no new exports > > > > without in-tree users. In general, that should go without saying for > > > > any core changes for new or future hardware. > > > > > > I always intend to have an upstream user the issue is that the device > > > driver tree and the mm tree move a different pace and there is always > > > a chicken and egg problem. I do not think Andrew wants to have to > > > merge driver patches through its tree, nor Linus want to have to merge > > > drivers and mm trees in specific order. So it is easier to introduce > > > mm change in one release and driver change in the next. This is what > > > i am doing with ODP. Adding things necessary in 5.1 and working with > > > Mellanox to have the ODP HMM patch fully tested and ready to go in > > > 5.2 (the patch is available today and Mellanox have begin testing it > > > AFAIK). So this is the guideline i will be following. Post mm bits > > > with driver patches, push to merge mm bits one release and have the > > > driver bits in the next. I do hope this sound fine to everyone. > > > > The track record to date has not been "merge HMM patch in one release > > and merge the driver updates the next". If that is the plan going > > forward that's great, and I do appreciate that this set came with > > driver changes, and maintain hope the existing exports don't go > > user-less for too much longer. > > Decision time. Jerome, how are things looking for getting these driver > changes merged in the next cycle? > > Dan, what's your overall take on this series for a 5.1-rc1 merge? My hesitation would be drastically reduced if there was a plan to avoid dangling unconsumed symbols and functionality. Specifically one or more of the following suggestions: * EXPORT_SYMBOL_GPL on all exports to avoid a growing liability surface for out-of-tree consumers to come grumble at us when we continue to refactor the kernel as we are wont to do. * A commitment to consume newly exported symbols in the same merge window, or the following merge window. When that goal is missed revert the functionality until such time that it can be consumed, or otherwise abandoned. * No new symbol exports and functionality while existing symbols go unconsumed. These are the minimum requirements I would expect my work, or any core-mm work for that matter, to be held to, I see no reason why HMM could not meet the same. On this specific patch I would ask that the changelog incorporate the motivation that was teased out of our follow-on discussion, not "There is no reason not to support that case." which isn't a justification.