Thread (13 messages) 13 messages, 4 authors, 2019-01-17

Re: [PATCH 1/3] locking: WW mutex cleanup

From: Peter Zijlstra <peterz@infradead.org>
Date: 2018-06-19 11:02:38
Also in: dri-devel, linux-media, lkml

On Tue, Jun 19, 2018 at 12:44:52PM +0200, Thomas Hellstrom wrote:
On 06/19/2018 11:44 AM, Peter Zijlstra wrote:
quoted
On Tue, Jun 19, 2018 at 10:24:43AM +0200, Thomas Hellstrom wrote:
quoted
From: Peter Ziljstra <peterz@infradead.org>

Make the WW mutex code more readable by adding comments, splitting up
functions and pointing out that we're actually using the Wait-Die
algorithm.

Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Gustavo Padovan <redacted>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Sean Paul <redacted>
Cc: David Airlie <redacted>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: "Paul E. McKenney" <redacted>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Thomas Gleixner <redacted>
Cc: Kate Stewart <redacted>
Cc: Philippe Ombredanne <redacted>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Co-authored-by: Thomas Hellstrom [off-list ref]
Signed-off-by: Thomas Hellstrom <redacted>
---
  Documentation/locking/ww-mutex-design.txt |  12 +-
  include/linux/ww_mutex.h                  |  28 ++---
  kernel/locking/mutex.c                    | 202 ++++++++++++++++++------------
  3 files changed, 145 insertions(+), 97 deletions(-)
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Hi Peter,

Do you want to add a SOB, since you're the main author?
Sure, here goes:

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help