On 2026/3/3 10:03, Jiucheng Xu wrote:



...


that need to use GFP_NOIO.

Yes, it should make vm_map_ram() in the end_io path use
GFP_NOIO instead.

Jiucheng, could you add memalloc_noio_{save,restore}() to
wrap up this path?

Thanks for Christoph's and Xiang's comments, I will try it. Thanks!

Just one more note: just wrap up z_erofs_decompressqueue_work() in
z_erofs_decompress_kickoff() with memalloc_noio_{save,restore}() is
enough.

 ...
 memalloc_noio_save()
 z_erofs_decompressqueue_work()
 memalloc_noio_restore()


Best Regards,
Jiucheng


Reply via email to