From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx200.postini.com [74.125.245.200]) by kanga.kvack.org (Postfix) with SMTP id 87CA96B004D for ; Mon, 3 Dec 2012 08:59:40 -0500 (EST) Date: Mon, 3 Dec 2012 13:59:34 +0000 From: Mel Gorman Subject: Re: [PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem Message-ID: <20121203135934.GM8218@suse.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20121201201030.GA2704@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: Linus Torvalds , Linux Kernel Mailing List , linux-mm , Peter Zijlstra , Paul Turner , Lee Schermerhorn , Christoph Lameter , Rik van Riel , Andrew Morton , Andrea Arcangeli , Thomas Gleixner , Johannes Weiner , Hugh Dickins On Sat, Dec 01, 2012 at 09:10:30PM +0100, 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 Confirmation from the RT people that they're ok with this would be nice but otherwise Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754602Ab2LCN7l (ORCPT ); Mon, 3 Dec 2012 08:59:41 -0500 Received: from cantor2.suse.de ([195.135.220.15]:59697 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754188Ab2LCN7j (ORCPT ); Mon, 3 Dec 2012 08:59:39 -0500 Date: Mon, 3 Dec 2012 13:59:34 +0000 From: Mel Gorman To: Ingo Molnar Cc: Linus Torvalds , Linux Kernel Mailing List , linux-mm , Peter Zijlstra , Paul Turner , Lee Schermerhorn , Christoph Lameter , Rik van Riel , 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: <20121203135934.GM8218@suse.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20121201201030.GA2704@gmail.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 On Sat, Dec 01, 2012 at 09:10:30PM +0100, 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 Confirmation from the RT people that they're ok with this would be nice but otherwise Acked-by: Mel Gorman -- Mel Gorman SUSE Labs