From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id B6F816B01CC for ; Tue, 23 Mar 2010 15:07:51 -0400 (EDT) Date: Tue, 23 Mar 2010 20:06:30 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 00 of 34] Transparent Hugepage support #14 Message-ID: <20100323190630.GG10659@random.random> References: <20100318234923.GV29874@random.random> <20100319144101.GB29874@random.random> <20100322163523.GA12407@cmpxchg.org> <20100322182028.GA13114@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: Johannes Weiner , linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , Arnd Bergmann , "Michael S. Tsirkin" , Peter Zijlstra List-ID: On Tue, Mar 23, 2010 at 12:11:01PM -0500, Christoph Lameter wrote: > No it does not happen on the fly. It happens only when you can account for > all references that current exist for the page to be migrated. Then you > change all the references at once. The mechanism ensures that there is no > one else operating on the page. And if one of the references is taken by GUP migration fails and you can try later or wait for I/O. This is not the case for split_huge_page, we don't fail or wait there. -- 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