Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755685Ab3I3SPC (ORCPT ); Mon, 30 Sep 2013 14:15:02 -0400 Received: from merlin.infradead.org ([205.233.59.134]:48308 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755464Ab3I3SPA (ORCPT ); Mon, 30 Sep 2013 14:15:00 -0400 Date: Mon, 30 Sep 2013 20:14:11 +0200 From: Peter Zijlstra To: Tim Chen Cc: Ingo Molnar , Linus Torvalds , Waiman Long , Ingo Molnar , Andrew Morton , Linux Kernel Mailing List , Rik van Riel , Peter Hurley , Davidlohr Bueso , Alex Shi , Andrea Arcangeli , Matthew R Wilcox , Dave Hansen , Michel Lespinasse , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH, v2] anon_vmas: Convert the rwsem to an rwlock_t Message-ID: <20130930181411.GO15690@laptop.programming.kicks-ass.net> References: <1380308424-31011-1-git-send-email-Waiman.Long@hp.com> <20130928074144.GA17773@gmail.com> <20130928192123.GA8228@gmail.com> <20130928193739.GA8642@gmail.com> <20130928195207.GA31245@gmail.com> <1380561027.3467.196.camel@schen9-DESK> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380561027.3467.196.camel@schen9-DESK> 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: 722 Lines: 20 On Mon, Sep 30, 2013 at 10:10:27AM -0700, Tim Chen wrote: > Here's the exim workload data: > > rwsem improvment: > Waimain's patch: +2.0% > Alex+Tim's patchset: +4.8% > Waiman+Alex+Tim: +5.3% > > convert rwsem to rwlock_t for root anon_vma lock > Ingo's patch +11.7% > What happens if you stuff Waiman's qrwlock patches on top of that? admittedly and oft mentioned in this thread, our current rwlock_t is somewhat suboptimal under a number of conditions. -- 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/