Messages in this thread | | | Date | Tue, 19 Jun 2018 13:02:05 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/3] locking: WW mutex cleanup |
| |
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@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 <gustavo@padovan.org> > > > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> > > > Cc: Sean Paul <seanpaul@chromium.org> > > > Cc: David Airlie <airlied@linux.ie> > > > Cc: Davidlohr Bueso <dave@stgolabs.net> > > > Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> > > > Cc: Josh Triplett <josh@joshtriplett.org> > > > Cc: Thomas Gleixner <tglx@linutronix.de> > > > Cc: Kate Stewart <kstewart@linuxfoundation.org> > > > Cc: Philippe Ombredanne <pombredanne@nexb.com> > > > 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 <thellstrom@vmware.com> > > > Signed-off-by: Thomas Hellstrom <thellstrom@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@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>
| |