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 582A96B01EE for ; Tue, 27 Apr 2010 21:37:30 -0400 (EDT) Date: Wed, 28 Apr 2010 03:36:59 +0200 From: Andrea Arcangeli Subject: Re: [PATCH 3/3] mm,migration: Remove straggling migration PTEs when page tables are being moved after the VMA has already moved Message-ID: <20100428013659.GL510@random.random> References: <1272403852-10479-1-git-send-email-mel@csn.ul.ie> <1272403852-10479-4-git-send-email-mel@csn.ul.ie> <20100427223004.GF8860@random.random> <20100427225852.GH8860@random.random> <20100428093948.c4e6faa1.kamezawa.hiroyu@jp.fujitsu.com> <20100428010543.GJ510@random.random> <20100428101858.1da1d2ed.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100428101858.1da1d2ed.kamezawa.hiroyu@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: Mel Gorman , Linux-MM , LKML , Minchan Kim , Christoph Lameter , Rik van Riel , Andrew Morton List-ID: On Wed, Apr 28, 2010 at 10:18:58AM +0900, KAMEZAWA Hiroyuki wrote: > BTW, page->index is not updated, we just keep [start_address, pgoff] to be > sane value. yes I corrected myself too, the end result is the same and adjusting the new vma vm_pgoff available in the anon-vma list is obviously faster and simpler. When the src and dst ranges don't overlap and src_vma != dst_vma (vma, new_vma in code) things are a lot simpler 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