Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5641612rwp; Mon, 17 Jul 2023 07:22:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFCUgCdWJ+MbjL+e8/x0fxPnb4q/apIO+lM97xmHCHo3SdSa+uqp78zJ2Er4SJ5EZKurnr X-Received: by 2002:a05:6a20:7f94:b0:12e:cbce:444a with SMTP id d20-20020a056a207f9400b0012ecbce444amr15392800pzj.37.1689603766859; Mon, 17 Jul 2023 07:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689603766; cv=none; d=google.com; s=arc-20160816; b=lllF/ngK1/bjMA2XiHTNKssNYhslZvPWiIrOvIYJEFbuL6VwUxcF/n0kRdelw5ooYq +SorD0GBv3+DRLGhYU+vkzibef5HqHwskMpn9eNoQ2VWQQxkvAr8Leh5gzInJ/mA8jqo 0x8GfUsmgzCVWEAQ/2HMlpdisVvHc94PRhabWB8HEczDlHVkjhvhFbtYc8+Wb8oLO6b+ 2F3WW5coNBL+ZAUjirA1GqqUgMA4NXfmWnhwEl8O5JTGIpV2W+9A2BzSpxa67jj8AasV 0AiKBQV6psZK6M3tsnql6hO2znhC9pOQjElHzyWq0eVRLxtO76vi7W8TdSCjIl4b0AwV 3elg== 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=2mbBr1wISc8JCKNOqvm+I2DcHCPVJP4RjwQFJAmpNA8=; fh=cZ9b6rf9pnLGvPhbNn+CrtdOy++g45MkEFjF4qIGprQ=; b=DSAK4R4Bih1miS51xTKJx0UlPLY0PKgwrVmfmh+feENNoX+jcJXwMhIC4uV5zLjCnv MFRnwUAwTU57WkNDibjjEiwA8ysC6g2vCbV5BQDIVHJH/Rxjpj416Yua9ypFNUpD1qmm p1unXOpFUfVvCChdQ81th3CU5ypD4Xdhai6w60hAMZBrdd7L9aRm9BSNcMFNbCWfoAbc EAP3Zs6ItTBtl7Ij3QJPNWthwkTmyN0/hDF1vQjMhDmJy3dgd0cjNqf+Fan9kg2ZEqQ+ 3QObo1eAQ9UChf2c++HBoTzAMCk0BjtYkCmBb8wobiPK270rI/RsElhJ4HbC6neGDx0y afYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="c5/sx/U5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u31-20020a63455f000000b0053fe93b2d33si11320316pgk.201.2023.07.17.07.22.33; Mon, 17 Jul 2023 07:22:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="c5/sx/U5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230070AbjGQNqT (ORCPT + 99 others); Mon, 17 Jul 2023 09:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjGQNqS (ORCPT ); Mon, 17 Jul 2023 09:46:18 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9D428F for ; Mon, 17 Jul 2023 06:46:17 -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=2mbBr1wISc8JCKNOqvm+I2DcHCPVJP4RjwQFJAmpNA8=; b=c5/sx/U50fbG2h9zLVfolw7wxu 9BdHny/dmLIhpnUhkcd5dCPx9w7/PrBzgAkHonvolXuEuP+rhk9tbKzD0PY3jtiDQFaclX4L08nrN SPtMlx8DtEyZQFhx63cb0W4pHlj4ito22hwQibC9SGl0qrYCv6l5KRxVOylUZNNy3tleLG/4anF+u msaAMmp4d3fkous7tyv7yJoQntzHtsGmtn9d0EWrGxZgTGztbeNY8lQuQQ6cf0O5wZ+wtN+AzdvtS zeyGL9NJBv03nky1fXe691ZENlOUY9sb7/XLYhrw8Psb7lvDS+B9SXzmaf2g6gteKQY3bmsgEtRnY +pKb/UTg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qLOYF-003xZ6-7N; Mon, 17 Jul 2023 13:46:11 +0000 Date: Mon, 17 Jul 2023 14:46:11 +0100 From: Matthew Wilcox To: Peng Zhang Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, sidhartha.kumar@oracle.com, akpm@linux-foundation.org, wangkefeng.wang@huawei.com, sunnanyong@huawei.com Subject: Re: [PATCH 6/6] mm/page_io: convert bio_associate_blkg_from_page() to take in a folio Message-ID: References: <20230717132602.2202147-1-zhangpeng362@huawei.com> <20230717132602.2202147-7-zhangpeng362@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230717132602.2202147-7-zhangpeng362@huawei.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 17, 2023 at 09:26:02PM +0800, Peng Zhang wrote: > Convert bio_associate_blkg_from_page() to take in a folio. We can remove > two implicit calls to compound_head() by taking in a folio. > > Signed-off-by: ZhangPeng Reviewed-by: Matthew Wilcox (Oracle)