Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5629010rwp; Mon, 17 Jul 2023 07:12:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlHd/WoQ8SDaWXYqk3JiCpzqHDliuvvFntRZJVnq8nBofE0pF8zMwEB1CbtTp3XiHCtrM425 X-Received: by 2002:a05:6a20:4308:b0:134:1ef9:8c17 with SMTP id h8-20020a056a20430800b001341ef98c17mr8341705pzk.20.1689603137616; Mon, 17 Jul 2023 07:12:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689603137; cv=none; d=google.com; s=arc-20160816; b=OpGhT0MvZ0fQySQ0//K5rsne9aO6xAb9LVwjAihBHrqHxP5LwMISyOAY4PMHA+wYLF Dg1iWMcAKBFU6Uf3Miem+UMslWqAC+Xu/vx+9kfcZD8XRrA2/tSkLGikj+vmm2EHPgW7 DgwfBnU8TPw81oXjYiYU/FNxmM4Xo0Uzg0fosjmHVrzJG6aAWOUprTw6MCWEoqsAQLen 3fuQOh944qIlljbLriJm6/AXJaB5Eqopt+4lCtBuoVlWJjtZj+EZyO91e7/norQw/PnT AanLmg/bfXpjQqoBeZFRb/7DxGy7ij/9wG7bLwwyPaaMpzCuVoiibacuEF0GSxvepPZe /w5Q== 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=67VcRnLuQCH22BeLGBNOvdWxweWNimzjLO2y5if/hiE=; fh=cZ9b6rf9pnLGvPhbNn+CrtdOy++g45MkEFjF4qIGprQ=; b=Sr8VreBu+82QLYtmAPbYCmoffDKMZff85AL/U28l7MZzZ5c+8zf00F6a7wcVAqmgfP 04GpiPZhq+SscQw2MmnEtfvGJDZ+fecsKfMi6UHkKBnYvExrY6J4Q0lYgR7WqAsg4UBS EA+TFcr6n9qmvEFh2+7gwCwu3/BsHyn8nXeF0JZl8GTp87RKaQdsx6m7+K5byta3+BYF ADkDAz1p5hLN8U/9XUyUUAqgmLgtm/t4GbVkBwEGdtV6WpMizws6yqDoOCq/Rl7XQROE ML/e5VWJTBchWJmkceo5fgcM/KP/tN2CU58W5ReR02xJmIIrF0XcQBHVZX+Q55ZdzFmx gINQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=mFe2VUIa; 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 j12-20020a056a00234c00b0067d2eeacacesi11781524pfj.355.2023.07.17.07.12.04; Mon, 17 Jul 2023 07:12:17 -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=mFe2VUIa; 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 S230333AbjGQOBS (ORCPT + 99 others); Mon, 17 Jul 2023 10:01:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231863AbjGQOBR (ORCPT ); Mon, 17 Jul 2023 10:01:17 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A79410D for ; Mon, 17 Jul 2023 07:01:13 -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=67VcRnLuQCH22BeLGBNOvdWxweWNimzjLO2y5if/hiE=; b=mFe2VUIa1oGe/vdYpZPb6fwbhq Cay3Zj4Ub0VjorDLt3ZuCZRW2wvLLb9PF7KGdOZaaS0i5l9mAIOfIJpdzxTkvXeBHJMKJZrtgmd5x 3HaNV9nV6pOBHcbSlLAsKPs9fcIkY5fFuKYIsIxQekzpKVb2W3+JxorHshRbyqkd2JAeQq4GYoWBG c8wmENMKu9O3Fg1Mwc2l1GJvw894K6Jr2BU0maPElWCVzSRstp7Jes8li5ld0hd/lW5udc5Xpdt13 /6YDi1YiYDl9XF6Bv4Fk/d9anXKJbYPGY8cqFn4WLMRyqVeTcUZu+obaVr0jOmk5qYPbO8J0I0foG RU772HxA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qLOmi-003yCx-99; Mon, 17 Jul 2023 14:01:08 +0000 Date: Mon, 17 Jul 2023 15:01:08 +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 4/6] mm/page_io: use a folio in swap_writepage_bdev_async() Message-ID: References: <20230717132602.2202147-1-zhangpeng362@huawei.com> <20230717132602.2202147-5-zhangpeng362@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230717132602.2202147-5-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:00PM +0800, Peng Zhang wrote: > From: ZhangPeng > > Saves one implicit call to compound_head(). > > Signed-off-by: ZhangPeng Reviewed-by: Matthew Wilcox (Oracle)