[PATCH 1/3] locking: WW mutex cleanup

Peter Zijlstra peterz at infradead.org
Tue Jun 19 11:02:05 UTC 2018


On Tue, Jun 19, 2018 at 12:44:52PM +0200, Thomas Hellstrom wrote:
> On 06/19/2018 11:44 AM, Peter Zijlstra wrote:
> > On Tue, Jun 19, 2018 at 10:24:43AM +0200, Thomas Hellstrom wrote:
> > > From: Peter Ziljstra <peterz at 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 at redhat.com>
> > > Cc: Jonathan Corbet <corbet at lwn.net>
> > > Cc: Gustavo Padovan <gustavo at padovan.org>
> > > Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> > > Cc: Sean Paul <seanpaul at chromium.org>
> > > Cc: David Airlie <airlied at linux.ie>
> > > Cc: Davidlohr Bueso <dave at stgolabs.net>
> > > Cc: "Paul E. McKenney" <paulmck at linux.vnet.ibm.com>
> > > Cc: Josh Triplett <josh at joshtriplett.org>
> > > Cc: Thomas Gleixner <tglx at linutronix.de>
> > > Cc: Kate Stewart <kstewart at linuxfoundation.org>
> > > Cc: Philippe Ombredanne <pombredanne at nexb.com>
> > > Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> > > Cc: linux-doc at vger.kernel.org
> > > Cc: linux-media at vger.kernel.org
> > > Cc: linaro-mm-sig at lists.linaro.org
> > > Co-authored-by: Thomas Hellstrom <thellstrom at vmware.com>
> > > Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
> > > ---
> > >   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 at 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 at infradead.org>


More information about the dri-devel mailing list