Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp563899pxf; Wed, 17 Mar 2021 10:33:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUkEZ8tkvfkNLFMN5ljKLBRSSYaa5i100/3P3Frlv9A1AQVNXm/ThT6K4wjAELQkwn86NI X-Received: by 2002:a17:906:f1d6:: with SMTP id gx22mr36764520ejb.59.1616002435690; Wed, 17 Mar 2021 10:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616002435; cv=none; d=google.com; s=arc-20160816; b=g5ktL38DiUcIh8O4exw8WyKrioEwVi85DR5Lsu3DLeuT8r3Z2bihq9LjmlO71yAo4u iwTDjY3mkN4r7MhChRAtwXhy78ATtRAkp8w6rXvGGedJxv8ipwc+Mq/9W2WE5W/qGbgv NA/m075eAqJJLUq4y4xY/Bu/XKA1bQU6JzyJPXM6YvyPUXEvrTialV9YoHqQYO+wxSeo fG04nq3YSlFpP0UpnZn1Cs4aRJcMrhRPWwt8ZNa/4n8dinbiNn9gB1A4A2HP0NcWiYmu EWiQB4iW7RoUYAkHLWrLVSBNhPixL4ME5O0pNptZgjM2/bhxG/m2s76mGgNsIg87R0iX zj1Q== 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=juTMg8li9WPs7BV+rnBMWaP6lQk9lYsWgQiaexNFbfM=; b=SY3v4CT1HtdjynI2Ieb62UIsYp5LB4Jr6fPsJIDWCjtpNRZD9ZPCVvzJMOdU2OUikK yTtY4MdGIITl1m9Xya57J6Ow5TPIQIURiP2g7LiE77gUWkEQiRvNdIM/RIpykkQLmST+ xGcMMnynXY48rDzDYCdLInvVe62mqY6MGO2Zp3pxEKYPNosttUy0D/KQvZ8CpGYBwDlF 3MAaL/i6KIeAD3OOPkn/pykd7yyKLXj54LCsDKtVRaS3bJpkVlmsVR7OGKW8MxJWhkpV Z+UOBfkOpN8NwKU3/MNhlNfUwsBd4cCMEGs/a+evkXjTEDum4vBNCq/nXH8WhDRgQSmY nYPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="a/25aH81"; 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 j22si16372982ejb.269.2021.03.17.10.33.27; Wed, 17 Mar 2021 10:33:55 -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="a/25aH81"; 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 S230458AbhCQRcA (ORCPT + 99 others); Wed, 17 Mar 2021 13:32:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbhCQRbh (ORCPT ); Wed, 17 Mar 2021 13:31:37 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56074C06174A; Wed, 17 Mar 2021 10:31:36 -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=juTMg8li9WPs7BV+rnBMWaP6lQk9lYsWgQiaexNFbfM=; b=a/25aH81aDfiJnlPF2p+fW3ZIy gKa6Kr9lvB2hlH58bQNh9mv4TKbz5IPukOxqDpUZZesKeSYVMWn1byX3oxBWUNnzxVsref83RJqSG 2kFBuBlfwaZ90rofUL1IsqFWRCo5uIgh08Yqsop+y8VPU0+MM1WAhe4GqiGAmQ31gTIUN2ji/5NSx 4ydSY5gX6mxWhV0mz/lUyuv4UUrhRfNnoEqQl9ZY266GZRxOXTHbvG0K3Gkb+9bGv8WnD414OUW1W Ebs0+El7AhG+w2Ugw3pfbXv5oAT9ych66CJAkvXPFKfISahgJpODS8ljaiiYAxByZF8bwDb3oygD9 wFhGk6rg==; Received: from 089144199244.atnat0008.highway.a1.net ([89.144.199.244] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lMa0r-001uvG-8S; Wed, 17 Mar 2021 17:31:23 +0000 Date: Wed, 17 Mar 2021 18:29:05 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v4 15/25] mm/filemap: Convert lock_page_async to lock_folio_async Message-ID: References: <20210305041901.2396498-1-willy@infradead.org> <20210305041901.2396498-16-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210305041901.2396498-16-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 05, 2021 at 04:18:51AM +0000, Matthew Wilcox (Oracle) wrote: > There aren't any actual callers of lock_page_async(), but convert > filemap_update_page() to call __lock_folio_async(). So please just kill lock_page_async first and mark __lock_page_async static. Then only update __lock_page_async to work on a folio.