Re: [PATCH] erofs: fix uninit-value in z_erofs_lz4_decompress

2023-12-30 Thread Edward Adam Davis via Linux-erofs
On Sun, 31 Dec 2023 09:14:11 +0800, Gao Xiang wrote: > > When LZ4 decompression fails, the number of bytes read from out should be > > inputsize plus the returned overflow value ret. > > > > Reported-and-tested-by: > > syzbot+6c746eea496f34b31...@syzkaller.appspotmail.com > > Signed-off-by:

Re: [PATCH] erofs: fix uninit-value in z_erofs_lz4_decompress

2023-12-30 Thread Gao Xiang
On 2023/12/29 19:09, Edward Adam Davis wrote: When LZ4 decompression fails, the number of bytes read from out should be inputsize plus the returned overflow value ret. Reported-and-tested-by: syzbot+6c746eea496f34b31...@syzkaller.appspotmail.com Signed-off-by: Edward Adam Davis ---

Re: [PATCH] erofs: add a global page pool for lz4 decompression

2023-12-30 Thread Gao Xiang
On 2023/12/29 12:48, Chunhai Guo wrote: Hi Chunhai, On 2023/12/28 21:00, Chunhai Guo wrote: Using a global page pool for LZ4 decompression significantly reduces the time spent on page allocation in low memory scenarios. The table below shows the reduction in time spent on page allocation