Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp44685pxk; Wed, 16 Sep 2020 18:23:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysVYo0dE5eqQSfmRcG7hwOgwN6PdSj/T5aJLnEI62iddlT0qFPTE/hcvhzAw6OCg9pnWVq X-Received: by 2002:a50:fb18:: with SMTP id d24mr30602998edq.149.1600305793930; Wed, 16 Sep 2020 18:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600305793; cv=none; d=google.com; s=arc-20160816; b=iVXOZci4J3697nRwXWaLqt7EMzBd2uRDXyj4Wylf/3/kRYXLpR6GuEdY5UIGkmPJrp fdWo1D/gkDClOATAhvRJ35Le32wrKy87qD1ba3+bLUhT+cvCdR1wHG5EKXXHe5BDeTtx IvrgcGnw2d6au01Vfhy9u5jyTlgIXK5sMesqo1X9yKfZp3BboPhMrqKeQzCby96RLzqF 2XxtRR85L7RS5HUJ9thRio4Ci3c3fKS1gFOl8jBD9Oc7nXMM0hEo/oUWPZEzTnIpQz/7 HLImMVR4TyV5z6XmCR1g2d6RqgsUwRGUYpgH9yjjUb+ySxzqmX/ms2GQCHD7AqMXE34V ITdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=8EJZxIQeYxWs69B0W492qq2l2r1XGrVEI94jXYewLqY=; b=g+HOdTrfX+qnIN9NJjQ1GypjhP/cam2uEnoDpRK+K9kdWVKqsi+5w/4bIgNQDVYKoY XLMEY/bLNhxjww+d3CflHpOjHW6QyQBNiYRiGIBZzsSq1HlLrIUa8x90K8fynIgq0dkt 05ci/br1BIJtlWLVuOJD1P22wA0fsXCvOVRDDt6e8qV2bhCPS3OIlOd/XuRcWJddybA8 eaaxqJRLGXkeDnUOeMud2j5TwF3kiUzYvBCgPM1i1KLLoKbk2tAHQYbsL2CqBDId5KOz N8TcwrA7M/Xog5roDWfFh9NltWOBFtmaiz17RdTnqRXiQkO5OsrwwxInASnghjnNRj82 +xCw== 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 p93si13250347edp.343.2020.09.16.18.22.50; Wed, 16 Sep 2020 18:23:13 -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 S1726102AbgIQBU5 (ORCPT + 99 others); Wed, 16 Sep 2020 21:20:57 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:44052 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726011AbgIQBUy (ORCPT ); Wed, 16 Sep 2020 21:20:54 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C82E18A2BAD876DB442E; Thu, 17 Sep 2020 09:05:30 +0800 (CST) Received: from [10.136.114.67] (10.136.114.67) by smtp.huawei.com (10.3.19.202) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 17 Sep 2020 09:05:28 +0800 Subject: Re: [PATCH] erofs: remove unneeded parameter To: Gao Xiang , Chao Yu CC: , References: <20200916140604.3799-1-chao@kernel.org> <20200916143304.GA23176@xiangao.remote.csb> <20200916143648.GA23921@xiangao.remote.csb> From: Chao Yu Message-ID: <72eab76b-0b05-2e0e-d711-8961a254a49a@huawei.com> Date: Thu, 17 Sep 2020 09:05:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200916143648.GA23921@xiangao.remote.csb> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.114.67] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xiang, On 2020/9/16 22:36, Gao Xiang wrote: > On Wed, Sep 16, 2020 at 10:33:04PM +0800, Gao Xiang wrote: >> Hi Chao, >> >> On Wed, Sep 16, 2020 at 10:06:04PM +0800, Chao Yu wrote: >>> From: Chao Yu >>> >>> In below call path, no page will be cached into @pagepool list >>> or grabbed from @pagepool list: >>> - z_erofs_readpage >>> - z_erofs_do_read_page >>> - preload_compressed_pages >>> - erofs_allocpage >>> >>> Let's get rid of this unneeded parameter. >> >> That would be unneeded after .readahead() is introduced recently >> (so add_to_page_cache_lru() is also moved to mm code), so I agree >> with you on it. > > (cont.) > > ... also it'd be better to add such historical reason to the commit > message... since it was of some use before... No problem, let me revise it in v2. :) Thanks, > > Thanks, > Gao Xiang > > . >