Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp707136pxb; Fri, 3 Sep 2021 11:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySw0ZeU/qG6ylbSx+sbolAzw+u1qRf/NfeZzw5tb3iO6iynJeUFpyrIi5rA4ynTm02kzQd X-Received: by 2002:a17:906:8468:: with SMTP id hx8mr253420ejc.492.1630694094964; Fri, 03 Sep 2021 11:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630694094; cv=none; d=google.com; s=arc-20160816; b=dQhe4mRgnNkw/zZYZo27/3RXwXLvfWK7QdIQfuRftN2Hp66K7BqV89LFwwu89pzs6r rHTxwScR3R6U1/07gt3Y/n5dNLZlYEJQWP28hIWGXASpDa8vwXWGhMgtJPkyR7Loms3T frnELa/mAfqWGT999c2DrccNtPh5wUzI7Xb8eFT6eWIHBqOnCOyf7A/8+jpezM4TLpZS YdmDjC2GvDBMJEZoG3LnnSoK9CNccx+OVZTPfRecVHNt/jCpsIYENUKLaIxVxR32ancF fVn/HR1c7gIsuryo7VoJrM3xqlbqRybrFNuuuE5FUrNMtELLafaXJhDwPXheIYB2DOsB bzFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=fnGtfKxww3zdnl9giMpvCy2Z5A4N8vJEjuIPAG11h6k=; b=V/yvyv8lil8RqQA4EYT2MuqKU2KzN2xPrGvxISwL9aMlEUo/pQasF9HtSN9jR8jUZI 05WsM9K1b5z9dqIzqryl7kUDzTJwN8bUZEtYv5xg+hHRF33mgk9KgilpZztnkSPI4LoT 0RBQaZ6Ahc5aDdrTeXSlZdcHXKtbwgg8pUvbO5Ruw8XyiuLxcT6NvRcBMQT5hlWEoCT/ wj936TEkbAN+XTRkBcR8hQXK91sQeQ4p0xw8aiRVs5TJUy2PupZ2jTLA3pwBMD6E4ik4 hurwqNqq3Omwr4+L23+rK4voJbCthAltUwQzJhvqth9QlVQLwzc1OdfqMpM6fMB58kLE RFpA== ARC-Authentication-Results: i=1; mx.google.com; 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 hp6si1894ejc.477.2021.09.03.11.34.30; Fri, 03 Sep 2021 11:34:54 -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; 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 S1347333AbhICSdr (ORCPT + 99 others); Fri, 3 Sep 2021 14:33:47 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:48934 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346181AbhICSdq (ORCPT ); Fri, 3 Sep 2021 14:33:46 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mMDso-000qie-AY; Fri, 03 Sep 2021 18:25:46 +0000 Date: Fri, 3 Sep 2021 18:25:46 +0000 From: Al Viro To: Linus Torvalds Cc: Andreas Gruenbacher , Christoph Hellwig , "Darrick J. Wong" , Paul Mackerras , Jan Kara , Matthew Wilcox , cluster-devel , linux-fsdevel , Linux Kernel Mailing List , ocfs2-devel@oss.oracle.com, kvm-ppc@vger.kernel.org Subject: Re: [PATCH v7 00/19] gfs2: Fix mmap + page fault deadlocks Message-ID: References: <20210827164926.1726765-1-agruenba@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 03, 2021 at 08:52:00AM -0700, Linus Torvalds wrote: > On Wed, Sep 1, 2021 at 12:53 PM Andreas Gruenbacher wrote: > > > > So there's a minor merge conflict between Christoph's iomap_iter > > conversion and this patch queue now, and I should probably clarify the > > description of "iomap: Add done_before argument to iomap_dio_rw" that > > Darrick ran into. Then there are the user copy issues that Al has > > pointed out. Fixing those will create superficial conflicts with this > > patch queue, but probably nothing serious. > > > > So how should I proceed: do you expect a v8 of this patch queue on top > > of the current mainline? > > So if you rebase for fixes, it's going to be a "next merge window" thing again. > > Personally, I'm ok with the series as is, and the conflict isn't an > issue. So I'd take it as is, and then people can fix up niggling > issues later. > > But if somebody screams loudly.. FWIW, my objections regarding the calling conventions are still there. Out of 3 callers that do want more than "success/failure", one is gone (series by tglx) and one more is broken (regardless of the semantics, btrfs on arm64). Which leaves 1 caller (fault-in for read in FPU handling on x86 sigreturn). That caller turns out to be correct, but IMO there are fairly strong arguments in favour of *not* using the normal fault-in in that case. "how many bytes can we fault in" is misleading, unless we really poke into every cacheline in the affected area. Which might be a primitive worth having, but it's a lot heavier than needed by the majority of callers.