Re: [PATCH] staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page
From: Chao Yu
Date: Tue Feb 19 2019 - 20:26:58 EST
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@xxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,