Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754815AbbDHTtz (ORCPT ); Wed, 8 Apr 2015 15:49:55 -0400 Received: from cantor2.suse.de ([195.135.220.15]:60830 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753851AbbDHTtw (ORCPT ); Wed, 8 Apr 2015 15:49:52 -0400 Message-ID: <1428522581.11099.7.camel@stgolabs.net> Subject: Re: [PATCH 0/2] locking: Simplify mutex and rwsem spinning code From: Davidlohr Bueso To: Jason Low Cc: Peter Zijlstra , Ingo Molnar , Linus Torvalds , Tim Chen , Aswin Chandramouleeswaran , LKML Date: Wed, 08 Apr 2015 12:49:41 -0700 In-Reply-To: <1428521960-5268-1-git-send-email-jason.low2@hp.com> References: <1428521960-5268-1-git-send-email-jason.low2@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 23 On Wed, 2015-04-08 at 12:39 -0700, Jason Low wrote: > This patchset applies on top of tip. > > Jason Low (2): > locking/mutex: Further refactor mutex_spin_on_owner() > locking/rwsem: Use a return variable in rwsem_spin_on_owner() > > kernel/locking/mutex.c | 14 ++++---------- > kernel/locking/rwsem-xadd.c | 25 ++++++++++++------------- > 2 files changed, 16 insertions(+), 23 deletions(-) Meh. Personally I wouldn't mid leaving these files alone for a change, the code is already pretty readable imho. Of course its a matter of taste, so I won't argue. Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/