Re: [PATCH 2/2] erofs: use sync decompression for atomic contexts only
From: Chao Yu
Date: Wed Mar 17 2021 - 02:46:38 EST
On 2021/3/17 11:54, Huang Jianan via Linux-erofs wrote:
Sync decompression was introduced to get rid of additional kworker
scheduling overhead. But there is no such overhead in non-atomic
contexts. Therefore, it should be better to turn off sync decompression
to avoid the current thread waiting in z_erofs_runqueue.
Signed-off-by: Huang Jianan <huangjianan@xxxxxxxx>
Signed-off-by: Guo Weichao <guoweichao@xxxxxxxx>
Reviewed-by: Gao Xiang <hsiangkao@xxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,