Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753889Ab0K2Ulu (ORCPT ); Mon, 29 Nov 2010 15:41:50 -0500 Received: from canuck.infradead.org ([134.117.69.58]:35860 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828Ab0K2Ult convert rfc822-to-8bit (ORCPT ); Mon, 29 Nov 2010 15:41:49 -0500 Subject: Re: [PATCH 07/21] mm: Use refcounts for page_lock_anon_vma() From: Peter Zijlstra To: KAMEZAWA Hiroyuki Cc: Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Benjamin Herrenschmidt , David Miller , Hugh Dickins , Mel Gorman , Nick Piggin , Paul McKenney , Yanmin Zhang , Stephen Rothwell In-Reply-To: <20101129113511.296169c9.kamezawa.hiroyu@jp.fujitsu.com> References: <20101126143843.801484792@chello.nl> <20101126145410.655255418@chello.nl> <20101129113511.296169c9.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Mon, 29 Nov 2010 21:41:23 +0100 Message-ID: <1291063283.32004.364.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 20 On Mon, 2010-11-29 at 11:35 +0900, KAMEZAWA Hiroyuki wrote: > On Fri, 26 Nov 2010 15:38:50 +0100 > Peter Zijlstra wrote: > > > Convert page_lock_anon_vma() over to use refcounts. This is > > done for each of convertion of anon_vma from spinlock to mutex. > > > > Signed-off-by: Peter Zijlstra > > Reviewed-by: KAMEZAWA Hiroyuki > > Does this patch affect only page_referenced() and try_to_unmap() ? git grep page_lock_anon_vma reveals that mm/memory-failure.c:collect_procs_anon() is also affected. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/