Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755238AbbBBV7d (ORCPT ); Mon, 2 Feb 2015 16:59:33 -0500 Received: from g2t2352.austin.hp.com ([15.217.128.51]:42077 "EHLO g2t2352.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755049AbbBBV7c (ORCPT ); Mon, 2 Feb 2015 16:59:32 -0500 From: Jason Low To: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org Cc: Davidlohr Bueso , Tim Chen , "Paul E. McKenney" , Linus Torvalds , tglx@linutronix.de, chegu_vinod@hp.com, Aswin Chandramouleeswaran , Jason Low Subject: [PATCH 0/2] mutex: Modifications to mutex_spin_on_owner Date: Mon, 2 Feb 2015 13:59:25 -0800 Message-Id: <1422914367-5574-1-git-send-email-jason.low2@hp.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 20 This patchset contains a few modifications to mutex_spin_on_owner(). The first patch makes the optimistic spinner continue spinning whenever the owner changes, and the second patch refactors mutex_spin_on_owner() to micro optimize the code as well as make it simpler. Jason Low (2): mutex: In mutex_spin_on_owner(), return true when owner changes mutex: Refactor mutex_spin_on_owner kernel/locking/mutex.c | 47 ++++++++++++++++++++++------------------------- 1 files changed, 22 insertions(+), 25 deletions(-) -- 1.7.2.5 -- 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/