[PATCH] staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page

Chao Yu yuchao0 at huawei.com
Wed Feb 20 12:26:47 AEDT 2019


On 2019/2/16 16:46, Gao Xiang wrote:
> page_private(page) cannot be changed if page lock is taken.
> 
> Besides, the corresponding workgroup won't be freed
> if the page is already protected by page lock, therefore
> no need to take rcu read lock.
> 
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>

Reviewed-by: Chao Yu <yuchao0 at huawei.com>

Thanks,



More information about the Linux-erofs mailing list