lkml.org 
[lkml]   [2019]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page
    From
    Date
    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@huawei.com>

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

    Thanks,

    \
     
     \ /
      Last update: 2019-02-20 02:27    [W:4.120 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site