Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755600Ab3I3RDb (ORCPT ); Mon, 30 Sep 2013 13:03:31 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40558 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755399Ab3I3RDa (ORCPT ); Mon, 30 Sep 2013 13:03:30 -0400 Date: Mon, 30 Sep 2013 10:03:51 -0700 From: Andrew Morton To: Ingo Molnar Cc: Linus Torvalds , Waiman Long , Ingo Molnar , Linux Kernel Mailing List , Rik van Riel , Peter Hurley , Davidlohr Bueso , Alex Shi , Tim Chen , Peter Zijlstra , 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: <20130930100351.7843a62b.akpm@linux-foundation.org> In-Reply-To: <20130928195207.GA31245@gmail.com> 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> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 21 On Sat, 28 Sep 2013 21:52:07 +0200 Ingo Molnar wrote: > Here's a an almost totally untested patch to convert the anon vma lock to > an rwlock_t. Both the anon vma lock and i_mmap_lock used to be spinlocks. Peter turned them both into sleeping locks in this series: https://lkml.org/lkml/2011/4/1/141 Later, Ingo turned the anon vma lock from an rwsem into a mutex (https://lkml.org/lkml/2012/12/1/141) to permit a scalability fix (https://lkml.org/lkml/2012/12/1/142). Let's convince ourselves that we won't be undoing things which will return to bite us? -- 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/