Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp729709pxf; Wed, 7 Apr 2021 10:06:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTz28UFu+cS3CtzOG/R275N4a+du6Gjg9L9paPeRCttFG9K09moDrDbhkuPQIFY8ZvQarw X-Received: by 2002:a5d:850c:: with SMTP id q12mr3335785ion.13.1617815194175; Wed, 07 Apr 2021 10:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617815194; cv=none; d=google.com; s=arc-20160816; b=1IucRbhm5vp3cO4D+il4AKNib1+YsyEHxKkxpNu9DkooaThvFSFITlvxlUIIr82dCQ hsTPFF6eQpIpTQT2+vgffeo2fT3umN+qTDQyQ9QA+QgDcsKlqxgAKvNNWv42lXDlI1TQ HDMr07ixwBpreXGy6rg8FKKrz9j7FN6de5MXnrgpOF28Uk3pEKHG4W97jnBfajtIbQuB gzci3/5/ZSjtGyGSP/Rpwq8dUKAaBrnMValrnOA6BsfN99ygiI0hbFKI+2+5htTU/NkJ iXSGQMP1750YUPXfgU6MifPsdlAiAf4aeIQRckNukIyKmEckmAe3ibAVzWCscUaFH0uS lA1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GXnM9RJclPMF2auKRyyoc6QRpWNTrxwbJZJDrLj/q3Q=; b=xA4k4xsZwcnqN+QndoaEMRctw1H3K7iVlSw3zgYMyuKeM7um8iPFCU8CmWbMwQckBk 4gS8D3GZ5IS2xtPqZ8xa2XWM88ImFyC7R3ySnIxGPyYB+1CwRYiUTjUSj4/FWgfxEffb g5nYnM8C5fvEnWHvBvs42AHxfgzVDW9VE5vw/m0w2S0kKytn5L56F2V6KxaKceRq2Fhj 7IetcFb0MR0waWbFdvGCpI6h+xqoHv1Y2/jQGPxjzX9QXNWsUFMcXnIbNAUSFh9gkHEb v2BO5UXsKyIpVDwtWAuctmDFF5JEhm6Ol60RRVUOSpHpvpetN6Rl0D/tq4rfrW4e0fu7 FjZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=u5xtNjfC; 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 k13si21311045iow.46.2021.04.07.10.06.20; Wed, 07 Apr 2021 10:06:34 -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=@infradead.org header.s=casper.20170209 header.b=u5xtNjfC; 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 S239083AbhDGCix (ORCPT + 99 others); Tue, 6 Apr 2021 22:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233974AbhDGCix (ORCPT ); Tue, 6 Apr 2021 22:38:53 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5778CC06174A for ; Tue, 6 Apr 2021 19:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GXnM9RJclPMF2auKRyyoc6QRpWNTrxwbJZJDrLj/q3Q=; b=u5xtNjfCwgrRjHfJFl2ks8b29i KpDRU8ybuZnLRp+ML7Nlucf479s85Zm6Wbeujnujy09d3KrsfPHuYvmp/ofOeI7/JvCEg47vyuKSu MIRMQaWRdgxwfXix1EldTPNi14Z+52DgyzQfgwG47JFAoEylxg0MArfPQ3y94VPyqpL1hulY6N/jf PFaAPeVmgg5NeGIWHBS/Y/O7orrJ8MCzB/O3EKeRcuGLQXwJWnFnuhsfe2RgvBMfyAMoBlYNQTxlO j7E8fQ44qYZkYgLGOYevD5v49KsGiDKmyMEKT6J87EbheOtoB/NPkkwvBJWeGKL9KdWukRqnlLbbs 6gxwkeuA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lTy4i-00Dm4l-G2; Wed, 07 Apr 2021 02:37:53 +0000 Date: Wed, 7 Apr 2021 03:37:48 +0100 From: Matthew Wilcox To: Michel Lespinasse Cc: Linux-MM , Laurent Dufour , Peter Zijlstra , Michal Hocko , Rik van Riel , Paul McKenney , Andrew Morton , Suren Baghdasaryan , Joel Fernandes , Rom Lemarchand , Linux-Kernel Subject: Re: [RFC PATCH 27/37] mm: implement speculative handling in do_fault_around() Message-ID: <20210407023748.GY2531743@casper.infradead.org> References: <20210407014502.24091-1-michel@lespinasse.org> <20210407014502.24091-28-michel@lespinasse.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210407014502.24091-28-michel@lespinasse.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 06, 2021 at 06:44:52PM -0700, Michel Lespinasse wrote: > Change xfs_filemap_map_pages() account for the fact that it can not > block anymore, as it is now running within an rcu read lock. Better to just delete xfs_filemap_map_pages() and use filemap_map_pages directly.