Messages in this thread | | | Subject | Re: [PATCH v2 3/3] erofs: simplify try_to_claim_pcluster() | From | Chao Yu <> | Date | Tue, 8 Dec 2020 17:26:30 +0800 |
| |
On 2020/12/7 9:23, Gao Xiang wrote: > simplify try_to_claim_pcluster() by directly using cmpxchg() here > (the retry loop caused more overhead.) Also, move the chain loop > detection in and rename it to z_erofs_try_to_claim_pcluster().
Looks more clean.
> > Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
| |