Re: [PATCH v4] erofs: relaxed temporary buffers allocation on readahead

2024-01-26 Thread Yue Hu
On Fri, 26 Jan 2024 22:01:42 +0800 Gao Xiang wrote: > From: Chunhai Guo > > Even with inplace decompression, sometimes very few temporary buffers > may be still needed for a single decompression shot (e.g. 16 pages for > 64k sliding window or 4 pages for 16k sliding window). In low-memory >

[PATCH v4] erofs: relaxed temporary buffers allocation on readahead

2024-01-26 Thread Gao Xiang
From: Chunhai Guo Even with inplace decompression, sometimes very few temporary buffers may be still needed for a single decompression shot (e.g. 16 pages for 64k sliding window or 4 pages for 16k sliding window). In low-memory scenarios, it would be better to try to allocate with GFP_NOWAIT on