From: Yue Hu <zbestahu@gmail.com>
To: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: linux-erofs@lists.ozlabs.org, LKML <linux-kernel@vger.kernel.org>,
huyue2@coolpad.com
Subject: Re: [PATCH v2] erofs: fix memory leak on short-lived bounced pages
Date: Wed, 29 Nov 2023 13:39:23 +0800 [thread overview]
Message-ID: <20231129133923.00005957.zbestahu@gmail.com> (raw)
In-Reply-To: <20231128180431.4116991-1-hsiangkao@linux.alibaba.com>
On Wed, 29 Nov 2023 02:04:31 +0800
Gao Xiang <hsiangkao@linux.alibaba.com> wrote:
> Both MicroLZMA and DEFLATE algorithms can use short-lived pages on
> demand for overlap inplace I/O decompression.
>
> However, those short-lived pages are actually added to
> `be->compressed_pages`. Thus, it should be checked instead of
> `pcl->compressed_bvecs`.
>
> The LZ4 algorithm doesn't work like this, so it won't be impacted.
>
> Fixes: 67139e36d970 ("erofs: introduce `z_erofs_parse_in_bvecs'")
> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Yue Hu <huyue2@coolpad.com>
next prev parent reply other threads:[~2023-11-29 5:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 17:58 [PATCH] erofs: fix memory leak on short-lived bounced pages Gao Xiang
2023-11-28 18:04 ` [PATCH v2] " Gao Xiang
2023-11-29 5:39 ` Yue Hu [this message]
2023-12-14 15:00 ` Chao Yu
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=20231129133923.00005957.zbestahu@gmail.com \
--to=zbestahu@gmail.com \
--cc=hsiangkao@linux.alibaba.com \
--cc=huyue2@coolpad.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