[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220322152059.2182333-1-longman@redhat.com>
Date: Tue, 22 Mar 2022 11:20:56 -0400
From: Waiman Long <longman@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, Will Deacon <will@...nel.org>,
Boqun Feng <boqun.feng@...il.com>
Cc: linux-kernel@...r.kernel.org, Waiman Long <longman@...hat.com>
Subject: [PATCH v2 0/3] locking/rwsem: Miscellaneous cleanup and fix
Patch 1 is just a simple cleanup patch. Patches 2 and 3 applies the same
consistent rules to optionally wake up waiters in reader & writers
slowpaths as well as in the out_nolock paths.
Waiman Long (3):
locking/rwsem: No need to check for handoff bit if wait queue empty
locking/rwsem: Conditionally wake waiters in reader/writer slowpaths
locking/rwsem: Always try to wake waiters in out_nolock path
kernel/locking/rwsem.c | 121 ++++++++++++++++++++++++-----------------
1 file changed, 70 insertions(+), 51 deletions(-)
--
2.27.0
Powered by blists - more mailing lists