Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934282Ab0HMMr2 (ORCPT ); Fri, 13 Aug 2010 08:47:28 -0400 Received: from smtp105.prem.mail.ac4.yahoo.com ([76.13.13.44]:31887 "HELO smtp105.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S934271Ab0HMMrZ (ORCPT ); Fri, 13 Aug 2010 08:47:25 -0400 X-Yahoo-SMTP: _Dag8S.swBC1p4FJKLCXbs8NQzyse1SYSgnAbY0- X-YMail-OSG: 3EhAEZcVM1nOOSmVH19l2B7OAH4m_OTV5fINHTrKlv3JMJc McqX47sJMbi9EpC1EZfWZulU6z472sWdhnGNh3MfFt6JgGN.0bQ4PCx3oiGo ZrXQEggF.9g05n1iN5MHtd3vxbmrMjX5.PtIknndISg9UmuCReCvGwBn9DsC iMZUuLbuxFSw4a3hu4PqfGwug9ep.c6Z9uIV_wA1yx.VSZL.AoQcJAYkotJp N X-Yahoo-Newman-Property: ymail-3 Date: Fri, 13 Aug 2010 07:47:21 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@router.home To: Naoya Horiguchi cc: Andi Kleen , Andrew Morton , Mel Gorman , Wu Fengguang , "Jun'ichi Nomura" , linux-mm , LKML Subject: Re: [PATCH 0/9] Hugepage migration (v2) In-Reply-To: <20100812075323.GA6112@spritzera.linux.bs1.fc.nec.co.jp> Message-ID: References: <1281432464-14833-1-git-send-email-n-horiguchi@ah.jp.nec.com> <20100812075323.GA6112@spritzera.linux.bs1.fc.nec.co.jp> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 27 On Thu, 12 Aug 2010, Naoya Horiguchi wrote: > > Can you also avoid refcounts being increased during migration? > > Yes. I think this will be done in above-mentioned refactoring. Thats not what I meant. Can you avoid other processors increasing refcounts (direct I/O etc?) on any page struct of the huge page while migration is running? > This patch only handles migration under direct I/O. > For the opposite (direct I/O under migration) it's not true. > I wrote additional patches (later I'll reply to this email) > for solving locking problem. Could you review them? Sure. > (Maybe these patches are beyond the scope of hugepage migration patch, > so is it better to propose them separately?) Migration with known races is really not what we want in the kernel. -- 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/