From: Chao Yu <yuchao0@huawei.com>
To: Gao Xiang <hsiangkao@redhat.com>, Chao Yu <chao@kernel.org>
Cc: <linux-erofs@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] erofs: remove unneeded parameter
Date: Thu, 17 Sep 2020 09:05:28 +0800 [thread overview]
Message-ID: <72eab76b-0b05-2e0e-d711-8961a254a49a@huawei.com> (raw)
In-Reply-To: <20200916143648.GA23921@xiangao.remote.csb>
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 <yuchao0@huawei.com>
>>>
>>> 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
>
> .
>
prev parent reply other threads:[~2020-09-17 1:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 14:06 Chao Yu
2020-09-16 14:33 ` Gao Xiang
2020-09-16 14:36 ` Gao Xiang
2020-09-17 1:05 ` Chao Yu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72eab76b-0b05-2e0e-d711-8961a254a49a@huawei.com \
--to=yuchao0@huawei.com \
--cc=chao@kernel.org \
--cc=hsiangkao@redhat.com \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®