From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 099F06B0071 for ; Tue, 23 Mar 2010 13:12:51 -0400 (EDT) Date: Tue, 23 Mar 2010 12:11:01 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH 00 of 34] Transparent Hugepage support #14 In-Reply-To: <20100322182028.GA13114@cmpxchg.org> Message-ID: 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 Sender: owner-linux-mm@kvack.org To: Johannes Weiner Cc: Andrea Arcangeli , 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 Mon, 22 Mar 2010, Johannes Weiner wrote: > Migration happens on the fly as well, you can just hide it better for > cases like mremap(), which is unaffected by the actual entries it copies. 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. -- 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