Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp578390pxb; Tue, 19 Oct 2021 08:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztviuKd/jCTp9KoDylV6L45WhnOH6v+prEmlLPQoCiAYY77XzuQzG/iBJxpvG41cf8dQ8f X-Received: by 2002:a17:906:274a:: with SMTP id a10mr39948779ejd.323.1634658288011; Tue, 19 Oct 2021 08:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634658288; cv=none; d=google.com; s=arc-20160816; b=upXTNgFuvpiVx1cB50MKcAk3UYQBJq5ITdiU1+NXeF7lRuoYiTOI4WpDZLAcaEUmYI rtHPZbdDJGljCzCM9EqFlt5yHRi5aoDOO1AM+hb5WNRFEz7HhDjzD4OSG8eb+dd2ZP3k pQudaVtcnZM+fjrdV5DbLPBHxb9qihBF8D8DCvQI5i3X1hKulcBMsOgmigBw3hzzGzyR dX61hntDIY4ArnBZiQLWDF8ogXGXWATnuR4Ukk2nVoPppnmK0Jj500SqpAE5VMVs49uQ n5i1LdBiRf30WzVmeSAmaLsAEJh18iR9wNYspbDxknA37oFevknd9quuVocifQa4VcAI MKug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=M5qLpGOaG+oQiwUY6IZoloZawU2xGFjPWL0KZDD5Sqk=; b=nJ8jtydwPiCZ5i+jX+ouBd9fCHk2IGsyDJ2Gr5kMrogvSwkS6ZGvrAJdGESg8S8van OaoKn1kTSV863OQIcs682bRPh0j2/JoTWg2qI9XjoIKl1/mF0+63ym5CvfG/T9yV555h juqc1td0Jm8rc/ThoiS1Q1L/TQSo3sKbVX/ThzJ3ZQ1kVhseXJLvHn36P2dQxDdCi/oB 599dNn6pjQDmmw54yVcC7OmFbxSn7obZ9NwiFsSYCy/rEtuAJcDtPt5SBimlCmmygvQy 533tRAsVMpkffwz4qwJ4V9NXImRBrnciUnBvOnGZqQGoPTZzkEi9Zb/3lY5w/3JId4ya 3P/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Wmr7RZGD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si24971813ejm.641.2021.10.19.08.44.22; Tue, 19 Oct 2021 08:44:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Wmr7RZGD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231888AbhJSPmr (ORCPT + 99 others); Tue, 19 Oct 2021 11:42:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbhJSPmq (ORCPT ); Tue, 19 Oct 2021 11:42:46 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9D3DC061746 for ; Tue, 19 Oct 2021 08:40:33 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id y26so8368929lfa.11 for ; Tue, 19 Oct 2021 08:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M5qLpGOaG+oQiwUY6IZoloZawU2xGFjPWL0KZDD5Sqk=; b=Wmr7RZGDwVuUUI0LgeG+526Yzd808WwmB0Gv3Ef8vlN4fSo+FWdGkt2ewAZlHCizf2 AOj6nKdkBK/50v2SslKwFKgXMONLSaQQZm/2hQbpblrN5k/KDVfxEf5XH7GllHiFtRBq 4jqVHC4XfB57XB9V0yinVHJ5h8DIkkpImv8f0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M5qLpGOaG+oQiwUY6IZoloZawU2xGFjPWL0KZDD5Sqk=; b=nn3uz0MR/WQgfzkLRRn0fVBayFKGX9Tcl5J+XD8VFQKGzXoPm0V06n1xELvqV3hvGY CIpOCFJdNiO3VeqBhcoHQ06/7CEz6XU2t+ROYxcjYtieleACpH0Ulmv7St3wx9a0ZeD4 HKD8m0FfM6PHFC/uE20WJByUScH20b00NUeELT2eK5tm1J7we8fi93Ur1DLU7JKEl9qz 0snILxyd7OTqC1vxccJu1D2nHZL6PdYvSE6tx0E435kwnJn2hYLvVBHzYf+6xVtQAzRJ D1fXQteHNpcAqUawwzMX+olcv8196TgLPdnfzF3ZFONWlsArrPemJ4TEn1Sc8ptubxhD m8ag== X-Gm-Message-State: AOAM53026pwWO2+g/zV49s8XJv4NDxGcTQItBGylOhGfgsk9p7Asp1on 19jftoXw8yI/J1gdZNlrw4mJJv1Bi7I8JVvP X-Received: by 2002:a05:6512:150b:: with SMTP id bq11mr6726005lfb.495.1634658030395; Tue, 19 Oct 2021 08:40:30 -0700 (PDT) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id y15sm1978022ljh.79.2021.10.19.08.40.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Oct 2021 08:40:29 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id r19so8366093lfe.10 for ; Tue, 19 Oct 2021 08:40:29 -0700 (PDT) X-Received: by 2002:a05:6512:398a:: with SMTP id j10mr6559053lfu.402.1634658028835; Tue, 19 Oct 2021 08:40:28 -0700 (PDT) MIME-Version: 1.0 References: <20211019134204.3382645-1-agruenba@redhat.com> In-Reply-To: <20211019134204.3382645-1-agruenba@redhat.com> From: Linus Torvalds Date: Tue, 19 Oct 2021 05:40:13 -1000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 00/17] gfs2: Fix mmap + page fault deadlocks To: Andreas Gruenbacher Cc: Catalin Marinas , Paul Mackerras , Alexander Viro , Christoph Hellwig , "Darrick J. Wong" , Jan Kara , Matthew Wilcox , cluster-devel , linux-fsdevel , Linux Kernel Mailing List , ocfs2-devel@oss.oracle.com, kvm-ppc@vger.kernel.org, linux-btrfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 19, 2021 at 3:42 AM Andreas Gruenbacher wrote: > > From my point of view, the following questions remain: > > * I hope these patches will be merged for v5.16, but what process > should I follow for that? The patch queue contains mm and iomap > changes, so a pull request from the gfs2 tree would be unusual. Oh, I'd much rather get these as one pull request from the author and from the person that actually ended up testing this. It might be "unusual", but it's certainly not unheard of, and trying to push different parts of the series through different maintainers would just cause lots of extra churn. Yes, normally I'd expect filesystem changes to have a diffstat that clearly shows that "yes, it's all local to this filesystem", and when I see anything else it raises red flags. But it raises red flags not because it would be wrong to have changes to other parts, but simply because when cross-subsystem development happens, it needs to be discussed and cleared with people. And you've done that. So I'd take this as one pull request from you. You've been doing the work, you get the questionable glory of being in charge of it all. You'll get the blame too ;) > * Will Catalin Marinas's work for supporting arm64 sub-page faults > be queued behind these patches? We have an overlap in > fault_in_[pages_]readable fault_in_[pages_]writeable, so one of > the two patch queues will need some adjustments. I think that on the whole they should be developed separately, I don't think it's going to be a particularly difficult conflict. That whole discussion does mean that I suspect that we'll have to change fault_in_iov_iter_writeable() to do the "every 16 bytes" or whatever thing, and make it use an actual atomic "add zero" or whatever rather than walk the page tables. But that's a conceptually separate discussion from this one, I wouldn't actually want to mix up the two issues too much. Sure, they touch the same code, so there is _that_ overlap, but one is about "the hardware rules are a-changing" and the other is about filesystem use of - and expansion of - the things we do. Let's keep them separate until ready, and then fix up the fallout at that point (either as a merge resolution, or even partly after-the-fact). Linus