From: Chao Yu <yuchao0@huawei.com> To: Gao Xiang <hsiangkao@redhat.com>, <linux-erofs@lists.ozlabs.org> Cc: LKML <linux-kernel@vger.kernel.org>, Chao Yu <chao@kernel.org> Subject: Re: [PATCH v2 3/3] erofs: simplify try_to_claim_pcluster() Date: Tue, 8 Dec 2020 17:26:30 +0800 [thread overview] Message-ID: <105f3d9b-fe6d-ff86-afcb-f0048a24479d@huawei.com> (raw) In-Reply-To: <20201207012346.2713857-3-hsiangkao@redhat.com> 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,
WARNING: multiple messages have this Message-ID (diff)
From: Chao Yu <yuchao0@huawei.com> To: Gao Xiang <hsiangkao@redhat.com>, <linux-erofs@lists.ozlabs.org> Cc: LKML <linux-kernel@vger.kernel.org> Subject: Re: [PATCH v2 3/3] erofs: simplify try_to_claim_pcluster() Date: Tue, 8 Dec 2020 17:26:30 +0800 [thread overview] Message-ID: <105f3d9b-fe6d-ff86-afcb-f0048a24479d@huawei.com> (raw) In-Reply-To: <20201207012346.2713857-3-hsiangkao@redhat.com> 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,
next prev parent reply other threads:[~2020-12-08 9:27 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-07 1:23 [PATCH v2 1/3] erofs: get rid of magical Z_EROFS_MAPPING_STAGING Gao Xiang 2020-12-07 1:23 ` Gao Xiang 2020-12-07 1:23 ` [PATCH v2 2/3] erofs: insert to managed cache after adding to pcl Gao Xiang 2020-12-07 1:23 ` Gao Xiang 2020-12-08 8:51 ` Chao Yu 2020-12-08 8:51 ` Chao Yu 2020-12-07 1:23 ` [PATCH v2 3/3] erofs: simplify try_to_claim_pcluster() Gao Xiang 2020-12-07 1:23 ` Gao Xiang 2020-12-08 9:26 ` Chao Yu [this message] 2020-12-08 9:26 ` Chao Yu 2020-12-08 3:14 ` [PATCH v2 1/3] erofs: get rid of magical Z_EROFS_MAPPING_STAGING Gao Xiang 2020-12-08 3:14 ` Gao Xiang 2020-12-08 8:15 ` Chao Yu 2020-12-08 8:15 ` Chao Yu 2020-12-08 8:23 ` Gao Xiang 2020-12-08 8:23 ` Gao Xiang 2020-12-08 8:44 ` Chao Yu 2020-12-08 8:44 ` Chao Yu 2020-12-08 8:49 ` Gao Xiang 2020-12-08 8:49 ` Gao Xiang 2020-12-08 8:28 ` Gao Xiang 2020-12-08 8:28 ` Gao Xiang
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=105f3d9b-fe6d-ff86-afcb-f0048a24479d@huawei.com \ --to=yuchao0@huawei.com \ --cc=chao@kernel.org \ --cc=hsiangkao@redhat.com \ --cc=linux-erofs@lists.ozlabs.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.