From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752554Ab0IJOi0 (ORCPT ); Fri, 10 Sep 2010 10:38:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40591 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751067Ab0IJOiZ (ORCPT ); Fri, 10 Sep 2010 10:38:25 -0400 Date: Fri, 10 Sep 2010 16:37:25 +0200 From: Andrea Arcangeli To: Naoya Horiguchi Cc: LKML , Hugh Dickins , Christoph Lameter , Linus Torvalds , Andrew Morton , Rik van Riel , Peter Zijlstra , Andi Kleen , linux-mm Subject: Re: [PATCH 1/4] hugetlb, rmap: always use anon_vma root pointer Message-ID: <20100910143724.GV8925@random.random> References: <1284092586-1179-1-git-send-email-n-horiguchi@ah.jp.nec.com> <1284092586-1179-2-git-send-email-n-horiguchi@ah.jp.nec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1284092586-1179-2-git-send-email-n-horiguchi@ah.jp.nec.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2010 at 01:23:03PM +0900, Naoya Horiguchi wrote: > This patch applies Andrea's fix given by the following patch into hugepage > rmapping code: > > commit 288468c334e98aacbb7e2fb8bde6bc1adcd55e05 > Author: Andrea Arcangeli > Date: Mon Aug 9 17:19:09 2010 -0700 > > This patch uses anon_vma->root and avoids unnecessary overwriting when > anon_vma is already set up. > > Signed-off-by: Naoya Horiguchi > --- > mm/rmap.c | 13 +++++++------ > 1 files changed, 7 insertions(+), 6 deletions(-) Acked-by: Andrea Arcangeli