From: Waiman Long <longman@redhat.com>
To: Yanfei Xu <yanfei.xu@windriver.com>,
peterz@infradead.org, mingo@redhat.com, will@kernel.org,
boqun.feng@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 0/3] misc patches for mutex and rwsem
Date: Wed, 13 Oct 2021 17:08:01 -0400 [thread overview]
Message-ID: <9484e09b-4fba-2b8d-5922-75a830531b48@redhat.com> (raw)
In-Reply-To: <20211013134154.1085649-1-yanfei.xu@windriver.com>
On 10/13/21 9:41 AM, Yanfei Xu wrote:
> [patch1] locking:remove rcu_read_lock/unlock as we already disabled preemption
> v1->2: also remove the unnecessary rcu_read_lock/unlock in rwsem
>
> [patch2] locking/rwsem: disable preemption for spinning region
> [patch3] locking/rwsem: fix comments about reader optimistic lock stealing conditions
> These two patches were sent to mailing list some weeks ago, but it seemed
> to be missed, so send them again.
>
> Yanfei Xu (3):
> locking: remove rcu_read_lock/unlock as we already disabled preemption
> locking/rwsem: disable preemption for spinning region
> locking/rwsem: fix comments about reader optimistic lock stealing
> conditions
>
> kernel/locking/mutex.c | 22 +++++++++++++++-------
> kernel/locking/rwsem.c | 28 ++++++++++++++++++----------
> 2 files changed, 33 insertions(+), 17 deletions(-)
>
The patches look good to me. Thanks!
For the series,
Acked-by: Waiman Long <longman@redhat.com>
prev parent reply other threads:[~2021-10-13 21:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-13 13:41 Yanfei Xu
2021-10-13 13:41 ` [PATCH V2 1/3] locking: remove rcu_read_lock/unlock as we already disabled preemption Yanfei Xu
2021-10-19 15:35 ` [tip: locking/core] locking: Remove rcu_read_{,un}lock() for preempt_{dis,en}able() tip-bot2 for Yanfei Xu
2021-10-13 13:41 ` [PATCH v2 2/3] locking/rwsem: disable preemption for spinning region Yanfei Xu
2021-10-15 10:13 ` Peter Zijlstra
2021-10-15 10:20 ` Peter Zijlstra
2021-10-15 12:33 ` Xu, Yanfei
2021-10-19 15:35 ` [tip: locking/core] locking/rwsem: Disable " tip-bot2 for Yanfei Xu
2021-10-13 13:41 ` [PATCH V2 3/3] locking/rwsem: fix comments about reader optimistic lock stealing conditions Yanfei Xu
2021-10-19 15:35 ` [tip: locking/core] locking/rwsem: Fix " tip-bot2 for Yanfei Xu
2021-10-13 21:08 ` Waiman Long [this message]
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=9484e09b-4fba-2b8d-5922-75a830531b48@redhat.com \
--to=longman@redhat.com \
--cc=boqun.feng@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=will@kernel.org \
--cc=yanfei.xu@windriver.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®