From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [PATCH 3/5] mm: convert i_mmap_mutex to rwsem Date: Fri, 23 May 2014 13:33:37 -0400 Message-ID: <537F8671.9040805@redhat.com> References: <1400816006-3083-1-git-send-email-davidlohr@hp.com> <1400816006-3083-4-git-send-email-davidlohr@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: mingo@kernel.org, peterz@infradead.org, mgorman@suse.de, aswin@hp.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Davidlohr Bueso , akpm@linux-foundation.org Return-path: In-Reply-To: <1400816006-3083-4-git-send-email-davidlohr@hp.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On 05/22/2014 11:33 PM, Davidlohr Bueso wrote: > The i_mmap_mutex is a close cousin of the anon vma lock, > both protecting similar data, one for file backed pages > and the other for anon memory. To this end, this lock can > also be a rwsem. > > This conversion is straightforward. For now, all users take > the write lock. > > Signed-off-by: Davidlohr Bueso Reviewed-by: Rik van Riel -- All rights reversed -- 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