Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755491Ab3I3KrZ (ORCPT ); Mon, 30 Sep 2013 06:47:25 -0400 Received: from merlin.infradead.org ([205.233.59.134]:38238 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754448Ab3I3KrW (ORCPT ); Mon, 30 Sep 2013 06:47:22 -0400 Date: Mon, 30 Sep 2013 12:46:58 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Ingo Molnar , Waiman Long , Ingo Molnar , Andrew Morton , Linux Kernel Mailing List , Rik van Riel , Peter Hurley , Davidlohr Bueso , Alex Shi , Tim Chen , Andrea Arcangeli , Matthew R Wilcox , Dave Hansen , Michel Lespinasse , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path Message-ID: <20130930104658.GX3081@twins.programming.kicks-ass.net> References: <1380308424-31011-1-git-send-email-Waiman.Long@hp.com> <20130928074144.GA17773@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 16 On Sat, Sep 28, 2013 at 11:55:26AM -0700, Linus Torvalds wrote: > So if the primary reason for this is really just that f*cking anon_vma > lock, then I would seriously suggest: I would still like to see the rwsem patches merged; even if we end up going back to a spin style anon_vma lock. There's been various reports in the past about how programs are significantly faster if they wrap their mmap() calls in a pthread_mutex. And this was purely down to the fact that rwsem writer-writer contention blows chunks. -- 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/