From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753428Ab2LAUUi (ORCPT ); Sat, 1 Dec 2012 15:20:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47069 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753058Ab2LAUUh (ORCPT ); Sat, 1 Dec 2012 15:20:37 -0500 Message-ID: <50BA6649.7050103@redhat.com> Date: Sat, 01 Dec 2012 15:19:21 -0500 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Ingo Molnar 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 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> In-Reply-To: <20121201201030.GA2704@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- All rights reversed