Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755491AbbFOThW (ORCPT ); Mon, 15 Jun 2015 15:37:22 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46888 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754136AbbFOThQ (ORCPT ); Mon, 15 Jun 2015 15:37:16 -0400 Message-ID: <1434397028.1903.12.camel@stgolabs.net> Subject: Re: [PATCH 2/4] locking/rtmutex: Use cmp-cmpxchg From: Davidlohr Bueso To: Jason Low Cc: Thomas Gleixner , Peter Zijlstra , Ingo Molnar , Steven Rostedt , Mike Galbraith , "Paul E. McKenney" , Sebastian Andrzej Siewior , Linux Kernel Mailing List Date: Mon, 15 Jun 2015 12:37:08 -0700 In-Reply-To: References: <1432056298-18738-1-git-send-email-dave@stgolabs.net> <1432056298-18738-3-git-send-email-dave@stgolabs.net> <1433604461.3165.21.camel@stgolabs.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 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: 606 Lines: 16 On Mon, 2015-06-15 at 11:34 -0700, Jason Low wrote: > The CCAS technique was typically used in the slow paths for those > other locks, where the chance of the operation returning false is > higher. That is true. Although I really want to use it in patch 4, I guess I could move the check in there, and thus avoid having it in the fastpath. 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/