From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754981AbcH0S2Q (ORCPT ); Sat, 27 Aug 2016 14:28:16 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35791 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754684AbcH0S2O (ORCPT ); Sat, 27 Aug 2016 14:28:14 -0400 Date: Sat, 27 Aug 2016 20:27:42 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: Waiman Long , Jason Low , Davidlohr Bueso , Linus Torvalds , Ding Tianhong , Thomas Gleixner , Will Deacon , Ingo Molnar , Imre Deak , Linux Kernel Mailing List , Tim Chen , "Paul E. McKenney" , jason.low2@hp.com Subject: Re: [RFC][PATCH 0/3] locking/mutex: Rewrite basic mutex Message-ID: <20160827182742.GA8248@gmail.com> References: <20160823124617.015645861@infradead.org> <20160823161750.GD31186@linux-80c1.suse> <1471970103.2381.51.camel@j-VirtualBox> <1472001223.2381.96.camel@j-VirtualBox> <20160825154331.GI10138@twins.programming.kicks-ass.net> <57BF1DC0.60308@hpe.com> <20160825163555.GJ10138@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160825163555.GJ10138@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > Its because the mutex wasn't quite exclusive enough :-) If you let in multiple > owner, like with that race you found, you get big gains in throughput ... Btw., do we know which mutex that was? That it didn't crash with a full AIM run suggests that whatever it is protecting it could probably be parallelized some more while still having a mostly working kernel! ;-) Thanks, Ingo