From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx110.postini.com [74.125.245.110]) by kanga.kvack.org (Postfix) with SMTP id D93E86B0074 for ; Tue, 4 Dec 2012 09:43:23 -0500 (EST) Received: by mail-vb0-f50.google.com with SMTP id fr13so2940231vbb.9 for ; Tue, 04 Dec 2012 06:43:23 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1354473824-19229-50-git-send-email-mingo@kernel.org> References: <1354473824-19229-1-git-send-email-mingo@kernel.org> <1354473824-19229-50-git-send-email-mingo@kernel.org> Date: Tue, 4 Dec 2012 06:43:22 -0800 Message-ID: Subject: Re: [PATCH 49/52] mm/rmap: Convert the struct anon_vma::mutex to an rwsem From: Michel Lespinasse Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Peter Zijlstra , Paul Turner , Lee Schermerhorn , Christoph Lameter , Rik van Riel , Mel Gorman , Andrew Morton , Andrea Arcangeli , Linus Torvalds , Thomas Gleixner , Johannes Weiner , Hugh Dickins On Sun, Dec 2, 2012 at 10:43 AM, 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(). Looks good. Reviewed-by: Michel Lespinasse -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- 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