From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753803Ab2LBPKz (ORCPT ); Sun, 2 Dec 2012 10:10:55 -0500 Received: from mail-ea0-f174.google.com ([209.85.215.174]:54225 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751846Ab2LBPKx (ORCPT ); Sun, 2 Dec 2012 10:10:53 -0500 Date: Sun, 2 Dec 2012 16:10:48 +0100 From: Ingo Molnar To: Rik van Riel Cc: Linus Torvalds , Linux Kernel Mailing List , linux-mm , Peter Zijlstra , Paul Turner , Lee Schermerhorn , Christoph Lameter , Mel Gorman , Andrew Morton , Andrea Arcangeli , Thomas Gleixner , Johannes Weiner , Hugh Dickins Subject: Re: [PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem Message-ID: <20121202151048.GA12911@gmail.com> References: <1354305521-11583-1-git-send-email-mingo@kernel.org> <20121201094927.GA12366@gmail.com> <20121201122649.GA20322@gmail.com> <20121201184135.GA32449@gmail.com> <20121201201030.GA2704@gmail.com> <50BA6649.7050103@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50BA6649.7050103@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Rik van Riel wrote: > On 12/01/2012 03:10 PM, Ingo Molnar wrote: > > > >Convert the struct anon_vma::mutex to an rwsem, which will help > >in solving a page-migration scalability problem. (Addressed in > >a separate patch.) > > > >The conversion is simple and straightforward: in every case > >where we mutex_lock()ed we'll now down_write(). > > > >Suggested-by: Linus Torvalds > >Cc: Andrew Morton > >Cc: Peter Zijlstra > >Cc: Andrea Arcangeli > >Cc: Rik van Riel > >Cc: Mel Gorman > >Cc: Hugh Dickins > >Signed-off-by: Ingo Molnar > > Reviewed-by: Rik van Riel Thanks Rik! Ingo