Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753803Ab3FOB2w (ORCPT ); Fri, 14 Jun 2013 21:28:52 -0400 Received: from gate.crashing.org ([63.228.1.57]:51056 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753364Ab3FOB2v (ORCPT ); Fri, 14 Jun 2013 21:28:51 -0400 Message-ID: <1371259580.21896.18.camel@pasglop> Subject: Re: [PATCH RFC ticketlock] Auto-queued ticketlock From: Benjamin Herrenschmidt To: Waiman Long Cc: Linus Torvalds , Al Viro , Davidlohr Bueso , Steven Rostedt , Paul McKenney , Linux Kernel Mailing List , Ingo Molnar , ????????? , Dipankar Sarma , Andrew Morton , Mathieu Desnoyers , Josh Triplett , niv@us.ibm.com, Thomas Gleixner , Peter Zijlstra , Valdis Kletnieks , David Howells , Eric Dumazet , Darren Hart , Fr??d??ric Weisbecker , Silas Boyd-Wickizer Date: Sat, 15 Jun 2013 11:26:20 +1000 In-Reply-To: <51BB5E27.5010009@hp.com> References: <1370973186.1744.9.camel@buesod1.americas.hpqcorp.net> <1370974231.9844.212.camel@gandalf.local.home> <1371059401.1746.33.camel@buesod1.americas.hpqcorp.net> <1371067399.1746.47.camel@buesod1.americas.hpqcorp.net> <20130612233224.GH4165@ZenIV.linux.org.uk> <20130613002058.GI4165@ZenIV.linux.org.uk> <20130613004941.GJ4165@ZenIV.linux.org.uk> <51BB2FFC.8060209@hp.com> <51BB5E27.5010009@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4-0ubuntu1 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: 825 Lines: 20 On Fri, 2013-06-14 at 14:17 -0400, Waiman Long wrote: > > With some minor changes, the current patch can be modified to support > debugging lock for 32-bit system. For 64-bit system, we can apply a > similar concept for debugging lock with cmpxchg_double. However, for > architecture that does not have cmpxchg_double support, it will be out > of luck and we probably couldn't support the same feature in debugging > mode. It will have to fall back to taking the lock. That means only x86_64 and s390 would benefit from it ... I'm sure we can do better :-) Cheers, Ben. -- 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/